home *** CD-ROM | disk | FTP | other *** search
/ Hyper Stacks 1994 May / Hyper Stacks (Pacific HiTech)(1994)[Mac].iso / XCMDS&XFCNS / HG Color Tools < prev    next >
MacBinary  |  1994-05-01  |  74.9 KB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Thu Jan 21 16:53:15 1993, modified Sun May 1 11:21:33 1994, creator HyperCard, type HyperCard stack, 48224 bytes "HG Color Tools" , at 0xbce0 28237 bytes resource default (weak)
99% file data default
74% TrID Mac HyperCard stack (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% lsar MacBinary default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0e 48 47 20 43 6f 6c | 6f 72 20 54 6f 6f 6c 73 |..HG Col|or Tools|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 00 bc 60 00 | 00 6e 4d a7 84 cb cb a9 |......`.|.nM.....|
|00000060| e9 79 7d 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.y}.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 3e 5d 00 00 |........|....>]..|
|00000080| 00 00 4e 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..N.STAK|........|
|00000090| 00 00 00 0a 00 00 bc 60 | 00 00 4e 00 00 00 00 00 |.......`|..N.....|
|000000a0| 00 00 00 00 00 00 00 01 | 00 00 0a 15 00 00 00 02 |........|........|
|000000b0| 00 00 0b 69 00 00 10 87 | 00 00 00 00 00 00 00 00 |...i....|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 10 80 00 02 10 80 00 | 02 10 80 00 02 10 80 01 |........|........|
|000000f0| dd 7f bc 7d 00 00 00 00 | 00 3c 01 90 01 8c 02 f0 |...}....|.<......|
|00000100| 00 00 00 00 02 70 03 40 | 00 00 00 00 00 00 00 00 |.....p.@|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d 24 00 00 0c bc | 01 50 01 60 00 00 00 00 |...$....|.P.`....|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 2d 2d 20 d9 d9 d9 d9 d9 | d9 d9 d9 d9 d9 d9 d9 d9 |-- .....|........|
|00000690| d9 20 20 48 47 20 43 6f | 6c 6f 72 20 54 6f 6f 6c |. HG Co|lor Tool|
|000006a0| 73 20 d9 d9 d9 d9 d9 d9 | d9 d9 d9 d9 d9 d9 d9 d9 |s ......|........|
|000006b0| 0d 2d 2d 20 4d 61 69 6e | 20 72 6f 75 74 69 6e 65 |.-- Main| routine|
|000006c0| 73 3a 20 43 4f 4c 4f 52 | 44 52 41 57 54 4f 4f 4c |s: COLOR|DRAWTOOL|
|000006d0| 2c 20 50 4c 41 43 45 43 | 48 43 50 49 43 54 0d 2d |, PLACEC|HCPICT.-|
|000006e0| 2d 20 20 20 54 68 65 20 | 66 69 72 73 74 20 73 65 |- The |first se|
|000006f0| 63 74 69 6f 6e 20 6f 66 | 20 74 68 69 73 20 73 63 |ction of| this sc|
|00000700| 72 69 70 74 20 63 6f 6e | 74 61 69 6e 73 20 74 68 |ript con|tains th|
|00000710| 65 0d 2d 2d 20 73 63 72 | 69 70 74 73 20 74 68 61 |e.-- scr|ipts tha|
|00000720| 74 20 79 6f 75 20 6e 65 | 65 64 20 74 6f 20 63 6f |t you ne|ed to co|
|00000730| 70 79 20 69 6e 74 6f 20 | 59 4f 55 52 20 73 74 61 |py into |YOUR sta|
|00000740| 63 6b 27 73 0d 2d 2d 20 | 73 63 72 69 70 74 20 74 |ck's.-- |script t|
|00000750| 6f 20 65 6e 61 62 6c 65 | 20 63 6f 6c 6f 72 2e 20 |o enable| color. |
|00000760| 54 68 65 73 65 20 61 72 | 65 20 74 61 6b 65 6e 20 |These ar|e taken |
|00000770| 64 69 72 65 63 74 6c 79 | 0d 2d 2d 20 66 72 6f 6d |directly|.-- from|
|00000780| 20 22 43 6f 6c 6f 72 69 | 7a 69 6e 67 20 48 79 70 | "Colori|zing Hyp|
|00000790| 65 72 43 61 72 64 22 3b | 20 74 68 65 79 20 72 65 |erCard";| they re|
|000007a0| 71 75 69 72 65 20 74 68 | 65 0d 2d 2d 20 58 43 4d |quire th|e.-- XCM|
|000007b0| 44 20 22 63 6f 6c 6f 72 | 69 7a 65 48 43 22 20 61 |D "color|izeHC" a|
|000007c0| 6e 64 20 74 68 65 20 58 | 46 43 4e 20 22 6d 61 78 |nd the X|FCN "max|
|000007d0| 44 65 70 74 68 28 29 22 | 2e 0d 2d 2d 20 20 20 54 |Depth()"|..-- T|
|000007e0| 68 65 20 73 65 63 6f 6e | 64 20 73 65 63 74 69 6f |he secon|d sectio|
|000007f0| 6e 20 63 6f 6e 74 61 69 | 6e 73 20 74 68 65 20 68 |n contai|ns the h|
|00000800| 61 6e 64 6c 65 72 73 20 | 77 68 69 63 68 0d 2d 2d |andlers |which.--|
|00000810| 20 64 72 69 76 65 73 20 | 74 68 65 20 63 6f 6c 6f | drives |the colo|
|00000820| 72 20 74 6f 6f 6c 73 20 | 74 68 65 6d 73 65 6c 76 |r tools |themselv|
|00000830| 65 73 3b 20 79 6f 75 20 | 64 6f 6e 27 74 0d 2d 2d |es; you |don't.--|
|00000840| 20 6e 65 65 64 20 74 6f | 20 63 6f 70 79 20 74 68 | need to| copy th|
|00000850| 65 73 65 20 6c 61 74 65 | 72 20 68 61 6e 64 6c 65 |ese late|r handle|
|00000860| 72 73 2e 0d 0d 0d 2d 2d | 20 d9 d9 d9 20 43 4f 4c |rs....--| ... COL|
|00000870| 4f 52 49 5a 49 4e 47 20 | 48 59 50 45 52 43 41 52 |ORIZING |HYPERCAR|
|00000880| 44 20 d9 d9 d9 0d 2d 2d | 20 52 65 71 75 69 72 65 |D ....--| Require|
|00000890| 73 3a 20 58 43 4d 44 20 | 63 6f 6c 6f 72 69 7a 65 |s: XCMD |colorize|
|000008a0| 48 43 0d 2d 2d 20 20 20 | 20 20 20 20 20 20 20 20 |HC.-- | |
|000008b0| 58 46 43 4e 20 6d 61 78 | 44 65 70 74 68 28 29 0d |XFCN max|Depth().|
|000008c0| 6f 6e 20 6f 70 65 6e 53 | 74 61 63 6b 0d 69 66 20 |on openS|tack.if |
|000008d0| 77 72 6f 6e 67 53 74 61 | 63 6b 28 29 20 74 68 65 |wrongSta|ck() the|
|000008e0| 6e 20 70 61 73 73 20 6f | 70 65 6e 53 74 61 63 6b |n pass o|penStack|
|000008f0| 0d 63 48 43 69 6e 73 74 | 61 6c 6c 0d 70 61 73 73 |.cHCinst|all.pass|
|00000900| 20 6f 70 65 6e 53 74 61 | 63 6b 0d 65 6e 64 20 6f | openSta|ck.end o|
|00000910| 70 65 6e 53 74 61 63 6b | 0d 0d 6f 6e 20 63 6c 6f |penStack|..on clo|
|00000920| 73 65 53 74 61 63 6b 0d | 69 66 20 77 72 6f 6e 67 |seStack.|if wrong|
|00000930| 53 74 61 63 6b 28 29 20 | 74 68 65 6e 20 70 61 73 |Stack() |then pas|
|00000940| 73 20 63 6c 6f 73 65 53 | 74 61 63 6b 0d 63 48 43 |s closeS|tack.cHC|
|00000950| 64 69 73 70 6f 73 65 0d | 70 61 73 73 20 63 6c 6f |dispose.|pass clo|
|00000960| 73 65 53 74 61 63 6b 0d | 65 6e 64 20 63 6c 6f 73 |seStack.|end clos|
|00000970| 65 53 74 61 63 6b 0d 0d | 6f 6e 20 72 65 73 75 6d |eStack..|on resum|
|00000980| 65 0d 69 66 20 77 72 6f | 6e 67 53 74 61 63 6b 28 |e.if wro|ngStack(|
|00000990| 29 20 74 68 65 6e 20 70 | 61 73 73 20 72 65 73 75 |) then p|ass resu|
|000009a0| 6d 65 0d 63 48 43 69 6e | 73 74 61 6c 6c 0d 70 61 |me.cHCin|stall.pa|
|000009b0| 73 73 20 72 65 73 75 6d | 65 0d 65 6e 64 20 72 65 |ss resum|e.end re|
|000009c0| 73 75 6d 65 0d 0d 6f 6e | 20 73 75 73 70 65 6e 64 |sume..on| suspend|
|000009d0| 0d 69 66 20 77 72 6f 6e | 67 53 74 61 63 6b 28 29 |.if wron|gStack()|
|000009e0| 20 74 68 65 6e 20 70 61 | 73 73 20 73 75 73 70 65 | then pa|ss suspe|
|000009f0| 6e 64 0d 63 48 43 64 69 | 73 70 6f 73 65 0d 70 61 |nd.cHCdi|spose.pa|
|00000a00| 73 73 20 73 75 73 70 65 | 6e 64 0d 65 6e 64 20 73 |ss suspe|nd.end s|
|00000a10| 75 73 70 65 6e 64 0d 0d | 6f 6e 20 72 65 73 75 6d |uspend..|on resum|
|00000a20| 65 53 74 61 63 6b 0d 69 | 66 20 77 72 6f 6e 67 53 |eStack.i|f wrongS|
|00000a30| 74 61 63 6b 28 29 20 74 | 68 65 6e 20 70 61 73 73 |tack() t|hen pass|
|00000a40| 20 72 65 73 75 6d 65 53 | 74 61 63 6b 0d 63 48 43 | resumeS|tack.cHC|
|00000a50| 69 6e 73 74 61 6c 6c 0d | 70 61 73 73 20 72 65 73 |install.|pass res|
|00000a60| 75 6d 65 53 74 61 63 6b | 0d 65 6e 64 20 72 65 73 |umeStack|.end res|
|00000a70| 75 6d 65 53 74 61 63 6b | 0d 0d 6f 6e 20 73 75 73 |umeStack|..on sus|
|00000a80| 70 65 6e 64 53 74 61 63 | 6b 0d 69 66 20 77 72 6f |pendStac|k.if wro|
|00000a90| 6e 67 53 74 61 63 6b 28 | 29 20 74 68 65 6e 20 70 |ngStack(|) then p|
|00000aa0| 61 73 73 20 73 75 73 70 | 65 6e 64 53 74 61 63 6b |ass susp|endStack|
|00000ab0| 0d 63 48 43 64 69 73 70 | 6f 73 65 0d 70 61 73 73 |.cHCdisp|ose.pass|
|00000ac0| 20 73 75 73 70 65 6e 64 | 53 74 61 63 6b 0d 65 6e | suspend|Stack.en|
|00000ad0| 64 20 73 75 73 70 65 6e | 64 53 74 61 63 6b 0d 0d |d suspen|dStack..|
|00000ae0| 6f 6e 20 63 48 43 69 6e | 73 74 61 6c 6c 0d 2d 2d |on cHCin|stall.--|
|00000af0| 20 43 68 65 63 6b 20 66 | 6f 72 20 63 6f 72 72 65 | Check f|or corre|
|00000b00| 63 74 20 65 6e 76 69 72 | 6f 6e 6d 65 6e 74 0d 73 |ct envir|onment.s|
|00000b10| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 62 75 73 |et curso|r to bus|
|00000b20| 79 0d 2d 2d 0d 69 66 20 | 63 68 65 63 6b 45 6e 76 |y.--.if |checkEnv|
|00000b30| 69 72 6f 6e 28 29 20 69 | 73 20 6e 6f 74 20 22 4f |iron() i|s not "O|
|00000b40| 4b 22 20 74 68 65 6e 0d | 67 6f 20 48 6f 6d 65 0d |K" then.|go Home.|
|00000b50| 67 65 74 48 6f 6d 65 49 | 6e 66 6f 0d 65 78 69 74 |getHomeI|nfo.exit|
|00000b60| 20 74 6f 20 48 79 70 65 | 72 43 61 72 64 0d 65 6e | to Hype|rCard.en|
|00000b70| 64 20 69 66 0d 73 65 74 | 20 63 75 72 73 6f 72 20 |d if.set| cursor |
|00000b80| 74 6f 20 62 75 73 79 0d | 2d 2d 0d 72 65 70 65 61 |to busy.|--.repea|
|00000b90| 74 20 75 6e 74 69 6c 20 | 74 68 65 20 6c 6f 63 6b |t until |the lock|
|00000ba0| 53 63 72 65 65 6e 20 69 | 73 20 66 61 6c 73 65 0d |Screen i|s false.|
|00000bb0| 75 6e 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 65 6e |unlock s|creen.en|
|00000bc0| 64 20 72 65 70 65 61 74 | 0d 65 6e 64 20 63 48 43 |d repeat|.end cHC|
|00000bd0| 69 6e 73 74 61 6c 6c 0d | 0d 66 75 6e 63 74 69 6f |install.|.functio|
|00000be0| 6e 20 63 68 65 63 6b 45 | 6e 76 69 72 6f 6e 20 2d |n checkE|nviron -|
|00000bf0| 2d 3e 20 6f 6b 20 69 66 | 66 20 6d 65 6d 6f 72 79 |-> ok if|f memory|
|00000c00| 20 6f 6b 20 6f 72 20 6a | 75 73 74 20 6e 6f 20 63 | ok or j|ust no c|
|00000c10| 6f 6c 6f 72 0d 2d 2d 20 | 54 68 65 20 68 65 61 70 |olor.-- |The heap|
|00000c20| 73 70 61 63 65 20 72 65 | 71 75 69 72 65 6d 65 6e |space re|quiremen|
|00000c30| 74 73 20 6d 61 79 20 76 | 61 72 79 20 64 65 70 65 |ts may v|ary depe|
|00000c40| 6e 64 69 6e 67 20 6f 6e | 20 79 6f 75 72 20 73 74 |nding on| your st|
|00000c50| 61 63 6b 0d 70 75 74 20 | 4d 61 78 44 65 70 74 68 |ack.put |MaxDepth|
|00000c60| 28 29 20 69 6e 74 6f 20 | 54 68 65 44 65 70 74 68 |() into |TheDepth|
|00000c70| 0d 69 66 20 54 68 65 44 | 65 70 74 68 20 3c 20 34 |.if TheD|epth < 4|
|00000c80| 20 74 68 65 6e 0d 65 72 | 72 42 69 74 44 65 70 74 | then.er|rBitDept|
|00000c90| 68 0d 72 65 74 75 72 6e | 20 22 4f 6b 22 0d 65 6e |h.return| "Ok".en|
|00000ca0| 64 20 69 66 0d 69 66 20 | 28 54 68 65 44 65 70 74 |d if.if |(TheDept|
|00000cb0| 68 20 3d 20 34 29 20 c2 | 0d 61 6e 64 20 28 74 68 |h = 4) .|.and (th|
|00000cc0| 65 20 68 65 61 70 53 70 | 61 63 65 20 3c 20 32 30 |e heapSp|ace < 20|
|00000cd0| 35 30 30 30 29 20 74 68 | 65 6e 20 65 72 72 4d 65 |5000) th|en errMe|
|00000ce0| 6d 6f 72 79 20 54 68 65 | 44 65 70 74 68 2c 22 31 |mory The|Depth,"1|
|00000cf0| 32 35 30 4b 22 0d 65 6c | 73 65 20 69 66 20 28 54 |250K".el|se if (T|
|00000d00| 68 65 44 65 70 74 68 20 | 3d 20 38 29 20 c2 0d 61 |heDepth |= 8) ..a|
|00000d10| 6e 64 20 28 74 68 65 20 | 68 65 61 70 53 70 61 63 |nd (the |heapSpac|
|00000d20| 65 20 3c 20 33 38 34 30 | 30 30 29 20 74 68 65 6e |e < 3840|00) then|
|00000d30| 20 65 72 72 4d 65 6d 6f | 72 79 20 54 68 65 44 65 | errMemo|ry TheDe|
|00000d40| 70 74 68 2c 22 31 33 30 | 30 4b 22 0d 65 6c 73 65 |pth,"130|0K".else|
|00000d50| 20 69 66 20 28 54 68 65 | 44 65 70 74 68 20 3d 20 | if (The|Depth = |
|00000d60| 31 36 29 20 c2 0d 61 6e | 64 20 28 74 68 65 20 68 |16) ..an|d (the h|
|00000d70| 65 61 70 53 70 61 63 65 | 20 3c 20 37 32 31 30 30 |eapSpace| < 72100|
|00000d80| 30 29 20 74 68 65 6e 20 | 65 72 72 4d 65 6d 6f 72 |0) then |errMemor|
|00000d90| 79 20 54 68 65 44 65 70 | 74 68 2c 22 32 34 30 30 |y TheDep|th,"2400|
|00000da0| 4b 22 0d 65 6c 73 65 20 | 69 66 20 28 54 68 65 44 |K".else |if (TheD|
|00000db0| 65 70 74 68 20 b3 20 32 | 34 29 20 c2 0d 61 6e 64 |epth . 2|4) ..and|
|00000dc0| 20 28 74 68 65 20 68 65 | 61 70 53 70 61 63 65 20 | (the he|apSpace |
|00000dd0| 3c 20 31 34 32 31 30 30 | 30 29 20 74 68 65 6e 20 |< 142100|0) then |
|00000de0| 65 72 72 4d 65 6d 6f 72 | 79 20 54 68 65 44 65 70 |errMemor|y TheDep|
|00000df0| 74 68 2c 22 33 30 30 30 | 4b 22 0d 65 6c 73 65 20 |th,"3000|K".else |
|00000e00| 69 66 20 73 74 61 63 6b | 41 63 74 69 76 61 74 65 |if stack|Activate|
|00000e10| 28 29 20 69 73 20 6e 6f | 74 20 65 6d 70 74 79 20 |() is no|t empty |
|00000e20| 74 68 65 6e 0d 65 72 72 | 43 6f 6c 6f 72 0d 72 65 |then.err|Color.re|
|00000e30| 74 75 72 6e 20 22 4f 4b | 22 0d 65 6c 73 65 20 72 |turn "OK|".else r|
|00000e40| 65 74 75 72 6e 20 22 4f | 4b 22 0d 65 6e 64 20 63 |eturn "O|K".end c|
|00000e50| 68 65 63 6b 45 6e 76 69 | 72 6f 6e 0d 0d 6f 6e 20 |heckEnvi|ron..on |
|00000e60| 65 72 72 4d 65 6d 6f 72 | 79 20 54 68 65 44 65 70 |errMemor|y TheDep|
|00000e70| 74 68 2c 50 61 72 74 69 | 74 69 6f 6e 53 69 7a 65 |th,Parti|tionSize|
|00000e80| 0d 2d 2d 20 54 68 65 20 | 50 61 72 74 69 74 69 6f |.-- The |Partitio|
|00000e90| 6e 53 69 7a 65 20 72 65 | 71 75 69 72 65 64 20 6d |nSize re|quired m|
|00000ea0| 61 79 20 76 61 72 79 20 | 64 65 70 65 6e 64 69 6e |ay vary |dependin|
|00000eb0| 67 20 6f 6e 20 79 6f 75 | 72 20 73 74 61 63 6b 0d |g on you|r stack.|
|00000ec0| 67 6c 6f 62 61 6c 20 67 | 4f 4b 54 6f 43 6f 6c 6f |global g|OKToColo|
|00000ed0| 72 69 7a 65 0d 70 75 74 | 20 22 6e 6f 74 20 65 6e |rize.put| "not en|
|00000ee0| 6f 75 67 68 20 6d 65 6d | 6f 72 79 2e 22 20 69 6e |ough mem|ory." in|
|00000ef0| 74 6f 20 67 4f 4b 54 6f | 43 6f 6c 6f 72 69 7a 65 |to gOKTo|Colorize|
|00000f00| 0d 70 75 74 20 6c 61 73 | 74 49 74 65 6d 28 22 3a |.put las|tItem(":|
|00000f10| 22 2c 74 68 65 20 6c 6f | 6e 67 20 6e 61 6d 65 20 |",the lo|ng name |
|00000f20| 6f 66 20 48 79 70 65 72 | 43 61 72 64 29 20 69 6e |of Hyper|Card) in|
|00000f30| 74 6f 20 54 68 65 48 79 | 70 65 72 43 61 72 64 0d |to TheHy|perCard.|
|00000f40| 61 6e 73 77 65 72 20 22 | 4e 6f 74 20 65 6e 6f 75 |answer "|Not enou|
|00000f50| 67 68 20 6d 65 6d 6f 72 | 79 20 74 6f 20 72 75 6e |gh memor|y to run|
|00000f60| 22 20 26 26 20 22 d2 22 | 20 26 20 73 68 6f 72 74 |" && "."| & short|
|00000f70| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 73 74 | name of| this st|
|00000f80| 61 63 6b 20 26 20 22 d3 | 22 20 c2 0d 26 26 20 22 |ack & ".|" ..&& "|
|00000f90| 69 6e 22 20 26 26 20 54 | 68 65 44 65 70 74 68 20 |in" && T|heDepth |
|00000fa0| 26 20 22 2d 62 69 74 20 | 63 6f 6c 6f 72 2e 20 54 |& "-bit |color. T|
|00000fb0| 68 65 20 63 75 72 72 65 | 6e 74 20 6d 65 6d 6f 72 |he curre|nt memor|
|00000fc0| 79 20 73 69 7a 65 20 6f | 66 22 20 26 26 20 c2 0d |y size o|f" && ..|
|00000fd0| 54 68 65 48 79 70 65 72 | 43 61 72 64 20 26 26 20 |TheHyper|Card && |
|00000fe0| 22 73 68 6f 75 6c 64 20 | 62 65 20 61 74 20 6c 65 |"should |be at le|
|00000ff0| 61 73 74 22 20 26 26 20 | 50 61 72 74 69 74 69 6f |ast" && |Partitio|
|00001000| 6e 53 69 7a 65 20 26 20 | 22 2e 22 c2 0d 77 69 74 |nSize & |"."..wit|
|00001010| 68 20 22 48 6f 6d 65 22 | 0d 65 6e 64 20 65 72 72 |h "Home"|.end err|
|00001020| 4d 65 6d 6f 72 79 0d 0d | 66 75 6e 63 74 69 6f 6e |Memory..|function|
|00001030| 20 6c 61 73 74 49 74 65 | 6d 20 54 68 65 44 65 6c | lastIte|m TheDel|
|00001040| 69 6d 69 74 65 72 2c 53 | 74 72 69 6e 67 0d 2d 2d |imiter,S|tring.--|
|00001050| 20 67 69 76 65 6e 20 74 | 68 65 20 64 65 6c 69 6d | given t|he delim|
|00001060| 69 74 65 72 20 3c 54 68 | 65 44 65 6c 69 6d 69 74 |iter <Th|eDelimit|
|00001070| 65 72 3e 2c 20 72 65 74 | 75 72 6e 20 74 68 65 20 |er>, ret|urn the |
|00001080| 70 6f 72 74 69 6f 6e 20 | 6f 66 20 3c 53 74 72 69 |portion |of <Stri|
|00001090| 6e 67 3e 20 74 68 61 74 | 0d 2d 2d 20 66 6f 6c 6c |ng> that|.-- foll|
|000010a0| 6f 77 73 20 74 68 65 20 | 4c 41 53 54 20 6f 63 63 |ows the |LAST occ|
|000010b0| 75 72 61 6e 63 65 20 6f | 66 20 3c 54 68 65 44 65 |urance o|f <TheDe|
|000010c0| 6c 69 6d 69 74 65 72 3e | 0d 69 66 20 54 68 65 44 |limiter>|.if TheD|
|000010d0| 65 6c 69 6d 69 74 65 72 | 20 69 73 20 69 6e 20 53 |elimiter| is in S|
|000010e0| 74 72 69 6e 67 0d 74 68 | 65 6e 20 70 75 74 20 6c |tring.th|en put l|
|000010f0| 61 73 74 49 74 65 6d 28 | 54 68 65 44 65 6c 69 6d |astItem(|TheDelim|
|00001100| 69 74 65 72 2c 63 68 61 | 72 20 6f 66 66 73 65 74 |iter,cha|r offset|
|00001110| 28 54 68 65 44 65 6c 69 | 6d 69 74 65 72 2c 53 74 |(TheDeli|miter,St|
|00001120| 72 69 6e 67 29 20 2b 20 | 31 20 74 6f 20 6c 65 6e |ring) + |1 to len|
|00001130| 67 74 68 28 53 74 72 69 | 6e 67 29 20 6f 66 20 53 |gth(Stri|ng) of S|
|00001140| 74 72 69 6e 67 29 20 69 | 6e 74 6f 20 53 74 72 69 |tring) i|nto Stri|
|00001150| 6e 67 0d 72 65 74 75 72 | 6e 20 53 74 72 69 6e 67 |ng.retur|n String|
|00001160| 0d 65 6e 64 20 6c 61 73 | 74 49 74 65 6d 0d 0d 6f |.end las|tItem..o|
|00001170| 6e 20 65 72 72 42 69 74 | 44 65 70 74 68 0d 67 6c |n errBit|Depth.gl|
|00001180| 6f 62 61 6c 20 67 4f 4b | 54 6f 43 6f 6c 6f 72 69 |obal gOK|ToColori|
|00001190| 7a 65 0d 70 75 74 20 22 | 62 69 74 20 64 65 70 74 |ze.put "|bit dept|
|000011a0| 68 20 74 6f 6f 20 6c 6f | 77 2e 22 20 69 6e 74 6f |h too lo|w." into|
|000011b0| 20 67 4f 4b 54 6f 43 6f | 6c 6f 72 69 7a 65 0d 61 | gOKToCo|lorize.a|
|000011c0| 6e 73 77 65 72 20 22 54 | 68 65 20 6d 6f 6e 69 74 |nswer "T|he monit|
|000011d0| 6f 72 20 6d 75 73 74 20 | 62 65 20 73 65 74 20 74 |or must |be set t|
|000011e0| 6f 20 31 36 20 63 6f 6c | 6f 72 73 20 6f 72 20 6d |o 16 col|ors or m|
|000011f0| 6f 72 65 20 22 26 c2 0d | 22 74 6f 20 64 69 73 70 |ore "&..|"to disp|
|00001200| 6c 61 79 20 74 68 69 73 | 20 73 74 61 63 6b 20 69 |lay this| stack i|
|00001210| 6e 20 63 6f 6c 6f 72 2e | 22 0d 65 6e 64 20 65 72 |n color.|".end er|
|00001220| 72 42 69 74 44 65 70 74 | 68 0d 0d 6f 6e 20 63 6f |rBitDept|h..on co|
|00001230| 6c 6f 72 69 7a 65 48 43 | 0d 67 6c 6f 62 61 6c 20 |lorizeHC|.global |
|00001240| 67 4f 4b 54 6f 43 6f 6c | 6f 72 69 7a 65 0d 69 66 |gOKToCol|orize.if|
|00001250| 20 28 67 4f 4b 54 6f 43 | 6f 6c 6f 72 69 7a 65 20 | (gOKToC|olorize |
|00001260| 69 73 20 65 6d 70 74 79 | 29 20 74 68 65 6e 20 70 |is empty|) then p|
|00001270| 61 73 73 20 63 6f 6c 6f | 72 69 7a 65 48 43 0d 65 |ass colo|rizeHC.e|
|00001280| 6e 64 20 63 6f 6c 6f 72 | 69 7a 65 48 43 0d 0d 66 |nd color|izeHC..f|
|00001290| 75 6e 63 74 69 6f 6e 20 | 73 74 61 63 6b 41 63 74 |unction |stackAct|
|000012a0| 69 76 61 74 65 0d 67 6c | 6f 62 61 6c 20 67 4f 4b |ivate.gl|obal gOK|
|000012b0| 54 6f 43 6f 6c 6f 72 69 | 7a 65 0d 2d 2d 0d 70 75 |ToColori|ze.--.pu|
|000012c0| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 67 4f 4b |t empty |into gOK|
|000012d0| 54 6f 43 6f 6c 6f 72 69 | 7a 65 0d 2d 2d 0d 63 6f |ToColori|ze.--.co|
|000012e0| 6c 6f 72 69 7a 65 48 43 | 20 22 61 73 73 69 67 6e |lorizeHC| "assign|
|000012f0| 54 6f 46 72 6f 6e 74 22 | 0d 69 66 20 74 68 65 20 |ToFront"|.if the |
|00001300| 72 65 73 75 6c 74 20 69 | 73 20 6e 6f 74 20 65 6d |result i|s not em|
|00001310| 70 74 79 20 74 68 65 6e | 0d 70 75 74 20 74 68 65 |pty then|.put the|
|00001320| 20 72 65 73 75 6c 74 20 | 69 6e 74 6f 20 67 4f 4b | result |into gOK|
|00001330| 54 6f 43 6f 6c 6f 72 69 | 7a 65 0d 72 65 74 75 72 |ToColori|ze.retur|
|00001340| 6e 20 67 4f 4b 54 6f 43 | 6f 6c 6f 72 69 7a 65 0d |n gOKToC|olorize.|
|00001350| 65 6e 64 20 69 66 0d 65 | 6e 64 20 73 74 61 63 6b |end if.e|nd stack|
|00001360| 41 63 74 69 76 61 74 65 | 0d 0d 6f 6e 20 65 72 72 |Activate|..on err|
|00001370| 43 6f 6c 6f 72 0d 67 6c | 6f 62 61 6c 20 67 4f 4b |Color.gl|obal gOK|
|00001380| 54 6f 43 6f 6c 6f 72 69 | 7a 65 0d 61 6e 73 77 65 |ToColori|ze.answe|
|00001390| 72 20 22 57 61 72 6e 69 | 6e 67 3a 20 54 68 65 20 |r "Warni|ng: The |
|000013a0| 65 6e 76 69 72 6f 6e 6d | 65 6e 74 20 74 68 69 73 |environm|ent this|
|000013b0| 20 73 74 61 63 6b 20 69 | 73 20 63 75 72 72 65 6e | stack i|s curren|
|000013c0| 74 6c 79 20 72 75 6e 6e | 69 6e 67 20 69 6e 20 69 |tly runn|ing in i|
|000013d0| 73 20 6e 6f 74 22 20 26 | 26 20 c2 0d 22 61 62 6c |s not" &|& .."abl|
|000013e0| 65 20 74 6f 20 73 75 70 | 70 6f 72 74 20 63 6f 6c |e to sup|port col|
|000013f0| 6f 72 2e 22 20 26 20 72 | 65 74 75 72 6e 20 26 20 |or." & r|eturn & |
|00001400| 22 52 65 61 73 6f 6e 3a | 22 20 26 26 20 67 4f 4b |"Reason:|" && gOK|
|00001410| 54 6f 43 6f 6c 6f 72 69 | 7a 65 0d 65 6e 64 20 65 |ToColori|ze.end e|
|00001420| 72 72 43 6f 6c 6f 72 0d | 0d 6f 6e 20 63 48 43 64 |rrColor.|.on cHCd|
|00001430| 69 73 70 6f 73 65 0d 2d | 2d 20 63 6c 6f 73 69 6e |ispose.-|- closin|
|00001440| 67 20 74 68 65 20 73 74 | 61 63 6b 2c 20 67 65 74 |g the st|ack, get|
|00001450| 20 72 69 64 20 6f 66 20 | 74 68 65 20 43 6f 6c 6f | rid of |the Colo|
|00001460| 72 69 7a 65 20 73 74 75 | 66 66 0d 6c 6f 63 6b 20 |rize stu|ff.lock |
|00001470| 73 63 72 65 65 6e 0d 43 | 6f 6c 6f 72 69 7a 65 48 |screen.C|olorizeH|
|00001480| 43 20 22 44 69 73 70 6f | 73 65 22 0d 69 66 20 74 |C "Dispo|se".if t|
|00001490| 68 65 20 72 65 73 75 6c | 74 20 69 73 20 6e 6f 74 |he resul|t is not|
|000014a0| 20 65 6d 70 74 79 20 74 | 68 65 6e 20 61 6e 73 77 | empty t|hen answ|
|000014b0| 65 72 20 74 68 65 20 72 | 65 73 75 6c 74 0d 75 6e |er the r|esult.un|
|000014c0| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 20 2d 2d 20 66 |lock scr|een -- f|
|000014d0| 6f 72 63 65 20 61 20 73 | 63 72 65 65 6e 20 75 70 |orce a s|creen up|
|000014e0| 64 61 74 65 0d 65 6e 64 | 20 63 48 43 64 69 73 70 |date.end| cHCdisp|
|000014f0| 6f 73 65 0d 0d 66 75 6e | 63 74 69 6f 6e 20 77 72 |ose..fun|ction wr|
|00001500| 6f 6e 67 53 74 61 63 6b | 0d 70 75 74 20 74 68 65 |ongStack|.put the|
|00001510| 20 76 61 6c 75 65 20 6f | 66 20 77 6f 72 64 20 32 | value o|f word 2|
|00001520| 20 6f 66 20 74 68 65 20 | 6c 6f 6e 67 20 6e 61 6d | of the |long nam|
|00001530| 65 20 6f 66 20 6d 65 20 | 69 6e 74 6f 20 54 68 65 |e of me |into The|
|00001540| 53 74 61 63 6b 4e 61 6d | 65 0d 72 65 74 75 72 6e |StackNam|e.return|
|00001550| 20 28 54 68 65 53 74 61 | 63 6b 4e 61 6d 65 20 69 | (TheSta|ckName i|
|00001560| 73 20 6e 6f 74 20 6c 69 | 6e 65 20 31 20 6f 66 20 |s not li|ne 1 of |
|00001570| 74 68 65 20 73 74 61 63 | 6b 73 29 0d 65 6e 64 20 |the stac|ks).end |
|00001580| 77 72 6f 6e 67 53 74 61 | 63 6b 0d 0d 2d 2d 20 45 |wrongSta|ck..-- E|
|00001590| 6e 64 20 6f 66 20 73 63 | 72 69 70 74 73 20 77 68 |nd of sc|ripts wh|
|000015a0| 69 63 68 20 6e 65 65 64 | 20 74 6f 20 62 65 20 63 |ich need| to be c|
|000015b0| 6f 70 69 65 64 21 0d 0d | 0d 0d 2d 2d 20 d9 d9 d9 |opied!..|..-- ...|
|000015c0| d9 d9 d9 d9 d9 d9 20 48 | 47 20 43 4f 4c 4f 52 20 |...... H|G COLOR |
|000015d0| 54 4f 4f 4c 53 20 d9 d9 | d9 d9 d9 d9 d9 d9 d9 0d |TOOLS ..|........|
|000015e0| 6f 6e 20 63 6c 6f 73 65 | 43 61 72 64 0d 73 61 76 |on close|Card.sav|
|000015f0| 65 43 6f 6c 6f 72 0d 70 | 61 73 73 20 63 6c 6f 73 |eColor.p|ass clos|
|00001600| 65 43 61 72 64 0d 65 6e | 64 20 63 6c 6f 73 65 43 |eCard.en|d closeC|
|00001610| 61 72 64 0d 0d 6f 6e 20 | 66 75 6e 63 74 69 6f 6e |ard..on |function|
|00001620| 4b 65 79 20 6b 65 79 0d | 69 66 20 6b 65 79 3d 39 |Key key.|if key=9|
|00001630| 20 74 68 65 6e 20 65 64 | 69 74 20 73 63 72 69 70 | then ed|it scrip|
|00001640| 74 20 6f 66 20 73 74 61 | 63 6b 20 22 48 79 70 65 |t of sta|ck "Hype|
|00001650| 72 47 41 53 50 20 43 6f | 6e 74 72 6f 6c 22 0d 65 |rGASP Co|ntrol".e|
|00001660| 6c 73 65 20 69 66 20 6b | 65 79 3d 31 30 20 74 68 |lse if k|ey=10 th|
|00001670| 65 6e 20 65 64 69 74 20 | 73 63 72 69 70 74 20 6f |en edit |script o|
|00001680| 66 20 6d 65 0d 65 6c 73 | 65 20 70 61 73 73 20 66 |f me.els|e pass f|
|00001690| 75 6e 63 74 69 6f 6e 4b | 65 79 0d 65 6e 64 20 66 |unctionK|ey.end f|
|000016a0| 75 6e 63 74 69 6f 6e 4b | 65 79 0d 0d 6f 6e 20 63 |unctionK|ey..on c|
|000016b0| 6f 6e 74 72 6f 6c 4b 65 | 79 20 6b 65 79 0d 69 66 |ontrolKe|y key.if|
|000016c0| 20 6b 65 79 3d 33 20 74 | 68 65 6e 20 63 6f 6c 6f | key=3 t|hen colo|
|000016d0| 72 44 72 61 77 54 6f 6f | 6c 20 2d 2d 20 63 6f 6e |rDrawToo|l -- con|
|000016e0| 74 72 6f 6c 2d 22 43 22 | 20 6f 70 65 6e 73 20 64 |trol-"C"| opens d|
|000016f0| 72 61 77 69 6e 67 20 74 | 6f 6f 6c 0d 65 6c 73 65 |rawing t|ool.else|
|00001700| 20 69 66 20 6b 65 79 3d | 35 20 74 68 65 6e 20 65 | if key=|5 then e|
|00001710| 72 61 73 65 41 6c 6c 20 | 2d 2d 20 63 6f 6e 74 72 |raseAll |-- contr|
|00001720| 6f 6c 2d 22 45 22 20 65 | 72 61 73 65 73 20 61 6c |ol-"E" e|rases al|
|00001730| 6c 20 63 6f 6c 6f 72 0d | 65 6c 73 65 20 69 66 20 |l color.|else if |
|00001740| 6b 65 79 3d 31 31 20 74 | 68 65 6e 20 70 6c 61 63 |key=11 t|hen plac|
|00001750| 65 43 48 43 70 69 63 74 | 20 2d 2d 20 63 6f 6e 74 |eCHCpict| -- cont|
|00001760| 72 6f 6c 2d 22 4b 22 20 | 70 6c 61 63 65 73 20 61 |rol-"K" |places a|
|00001770| 20 70 69 63 74 0d 65 6c | 73 65 20 69 66 20 6b 65 | pict.el|se if ke|
|00001780| 79 3d 32 36 20 74 68 65 | 6e 20 63 6f 6c 6f 72 45 |y=26 the|n colorE|
|00001790| 72 61 73 65 72 20 66 61 | 6c 73 65 20 2d 2d 20 63 |raser fa|lse -- c|
|000017a0| 6f 6e 74 72 6f 6c 2d 22 | 5a 22 20 69 73 20 61 6e |ontrol-"|Z" is an|
|000017b0| 20 22 75 6e 64 6f 22 0d | 70 61 73 73 20 63 6f 6e | "undo".|pass con|
|000017c0| 74 72 6f 6c 4b 65 79 0d | 65 6e 64 20 63 6f 6e 74 |trolKey.|end cont|
|000017d0| 72 6f 6c 4b 65 79 0d 0d | 2d 2d 20 d9 d9 d9 d9 d9 |rolKey..|-- .....|
|000017e0| d9 20 43 4f 4c 4f 52 20 | 52 4f 55 54 49 4e 45 53 |. COLOR |ROUTINES|
|000017f0| 20 d9 d9 d9 d9 d9 d9 0d | 6f 6e 20 63 6f 6c 6f 72 | .......|on color|
|00001800| 44 72 61 77 54 6f 6f 6c | 0d 67 6c 6f 62 61 6c 20 |DrawTool|.global |
|00001810| 48 47 63 6f 6c 6f 72 2c | 48 47 63 6f 6c 6f 72 43 |HGcolor,|HGcolorC|
|00001820| 6d 64 73 2c 48 47 63 43 | 6d 64 73 4c 61 73 74 2c |mds,HGcC|mdsLast,|
|00001830| 48 47 63 4d 6f 64 65 2c | 48 47 63 6f 6c 6f 72 53 |HGcMode,|HGcolorS|
|00001840| 61 76 65 0d 63 68 65 63 | 6b 43 6f 6c 6f 72 53 61 |ave.chec|kColorSa|
|00001850| 76 65 0d 70 75 74 20 48 | 47 63 6f 6c 6f 72 43 6d |ve.put H|GcolorCm|
|00001860| 64 73 20 69 6e 74 6f 20 | 6f 72 69 67 43 6f 6c 6f |ds into |origColo|
|00001870| 72 43 6d 64 73 0d 70 75 | 74 20 31 35 20 69 6e 74 |rCmds.pu|t 15 int|
|00001880| 6f 20 64 72 61 67 57 61 | 69 74 0d 70 75 74 20 74 |o dragWa|it.put t|
|00001890| 6f 6f 6c 52 65 63 74 73 | 28 29 20 69 6e 74 6f 20 |oolRects|() into |
|000018a0| 74 6c 52 65 63 74 73 0d | 73 61 76 65 4d 73 67 0d |tlRects.|saveMsg.|
|000018b0| 6d 73 67 20 22 43 6c 69 | 63 6b 20 6f 72 20 64 72 |msg "Cli|ck or dr|
|000018c0| 61 67 20 74 6f 20 63 6f | 6c 6f 72 3b 20 63 6f 6e |ag to co|lor; con|
|000018d0| 74 72 6f 6c 2d 5a 20 74 | 6f 20 75 6e 64 6f 3b 20 |trol-Z t|o undo; |
|000018e0| 41 4e 59 20 4b 45 59 20 | 65 78 69 74 73 22 0d 2d |ANY KEY |exits".-|
|000018f0| 2d 0d 70 75 74 20 30 20 | 69 6e 74 6f 20 63 75 72 |-.put 0 |into cur|
|00001900| 73 0d 72 65 70 65 61 74 | 0d 70 75 74 20 30 20 69 |s.repeat|.put 0 i|
|00001910| 6e 74 6f 20 71 75 69 74 | 4b 65 79 65 64 0d 72 65 |nto quit|Keyed.re|
|00001920| 70 65 61 74 20 75 6e 74 | 69 6c 20 74 68 65 20 6d |peat unt|il the m|
|00001930| 6f 75 73 65 20 69 73 20 | 64 6f 77 6e 20 6f 72 20 |ouse is |down or |
|00001940| 71 75 69 74 4b 65 79 65 | 64 3e 30 0d 61 64 64 20 |quitKeye|d>0.add |
|00001950| 31 20 74 6f 20 63 75 72 | 73 0d 69 66 20 63 75 72 |1 to cur|s.if cur|
|00001960| 73 3d 35 20 74 68 65 6e | 20 70 75 74 20 31 20 69 |s=5 then| put 1 i|
|00001970| 6e 74 6f 20 63 75 72 73 | 0d 73 65 74 20 63 75 72 |nto curs|.set cur|
|00001980| 73 6f 72 20 74 6f 20 22 | 63 6f 6c 6f 72 44 72 61 |sor to "|colorDra|
|00001990| 77 2e 22 26 63 75 72 73 | 0d 70 75 74 20 63 68 61 |w."&curs|.put cha|
|000019a0| 72 54 6f 4e 75 6d 28 49 | 6e 6b 65 79 28 29 29 20 |rToNum(I|nkey()) |
|000019b0| 69 6e 74 6f 20 71 75 69 | 74 4b 65 79 65 64 0d 65 |into qui|tKeyed.e|
|000019c0| 6e 64 20 72 65 70 65 61 | 74 0d 70 75 74 20 74 68 |nd repea|t.put th|
|000019d0| 65 20 74 69 63 6b 73 20 | 69 6e 74 6f 20 63 6c 69 |e ticks |into cli|
|000019e0| 63 6b 53 74 61 72 74 0d | 69 66 20 71 75 69 74 4b |ckStart.|if quitK|
|000019f0| 65 79 65 64 3e 30 20 6f | 72 20 63 6c 69 63 6b 4f |eyed>0 o|r clickO|
|00001a00| 66 66 43 61 72 64 28 74 | 6c 52 65 63 74 73 29 20 |ffCard(t|lRects) |
|00001a10| 74 68 65 6e 0d 69 66 20 | 71 75 69 74 4b 65 79 65 |then.if |quitKeye|
|00001a20| 64 3d 32 36 20 74 68 65 | 6e 0d 63 6f 6c 6f 72 45 |d=26 the|n.colorE|
|00001a30| 72 61 73 65 72 20 66 61 | 6c 73 65 0d 6e 65 78 74 |raser fa|lse.next|
|00001a40| 20 72 65 70 65 61 74 0d | 65 6e 64 20 69 66 0d 65 | repeat.|end if.e|
|00001a50| 78 69 74 20 72 65 70 65 | 61 74 0d 65 6e 64 20 69 |xit repe|at.end i|
|00001a60| 66 0d 77 61 69 74 20 75 | 6e 74 69 6c 20 74 68 65 |f.wait u|ntil the|
|00001a70| 20 6d 6f 75 73 65 20 69 | 73 20 75 70 20 6f 72 20 | mouse i|s up or |
|00001a80| 74 68 65 20 74 69 63 6b | 73 20 2d 20 63 6c 69 63 |the tick|s - clic|
|00001a90| 6b 53 74 61 72 74 20 3e | 20 64 72 61 67 57 61 69 |kStart >| dragWai|
|00001aa0| 74 0d 2d 2d 0d 69 66 20 | 74 68 65 20 6d 6f 75 73 |t.--.if |the mous|
|00001ab0| 65 20 69 73 20 64 6f 77 | 6e 20 74 68 65 6e 20 2d |e is dow|n then -|
|00001ac0| 2d 20 64 72 61 67 0d 70 | 75 74 20 71 75 6f 74 28 |- drag.p|ut quot(|
|00001ad0| 64 72 61 67 53 65 6c 65 | 63 74 28 74 68 65 20 63 |dragSele|ct(the c|
|00001ae0| 6c 69 63 6b 4c 6f 63 29 | 29 20 69 6e 74 6f 20 72 |lickLoc)|) into r|
|00001af0| 65 63 74 52 65 66 0d 70 | 75 74 20 74 68 65 20 73 |ectRef.p|ut the s|
|00001b00| 68 69 66 74 4b 65 79 20 | 69 73 20 64 6f 77 6e 20 |hiftKey |is down |
|00001b10| 69 6e 74 6f 20 77 68 69 | 74 65 4f 75 74 0d 70 75 |into whi|teOut.pu|
|00001b20| 74 20 74 68 65 20 6f 70 | 74 69 6f 6e 4b 65 79 20 |t the op|tionKey |
|00001b30| 69 73 20 75 70 20 69 6e | 74 6f 20 75 73 65 50 69 |is up in|to usePi|
|00001b40| 63 6b 65 72 0d 70 75 74 | 20 22 64 72 61 67 22 20 |cker.put| "drag" |
|00001b50| 69 6e 74 6f 20 64 72 61 | 77 54 79 70 65 0d 65 6c |into dra|wType.el|
|00001b60| 73 65 20 2d 2d 20 63 6c | 69 63 6b 0d 73 65 74 20 |se -- cl|ick.set |
|00001b70| 63 75 72 73 6f 72 20 74 | 6f 20 34 0d 70 75 74 20 |cursor t|o 4.put |
|00001b80| 74 68 65 20 73 68 69 66 | 74 4b 65 79 20 69 73 20 |the shif|tKey is |
|00001b90| 64 6f 77 6e 20 69 6e 74 | 6f 20 77 68 69 74 65 4f |down int|o whiteO|
|00001ba0| 75 74 0d 70 75 74 20 74 | 68 65 20 6f 70 74 69 6f |ut.put t|he optio|
|00001bb0| 6e 4b 65 79 20 69 73 20 | 75 70 20 69 6e 74 6f 20 |nKey is |up into |
|00001bc0| 75 73 65 50 69 63 6b 65 | 72 0d 69 66 20 74 68 65 |usePicke|r.if the|
|00001bd0| 20 63 6d 64 4b 65 79 20 | 69 73 20 64 6f 77 6e 20 | cmdKey |is down |
|00001be0| 74 68 65 6e 20 70 75 74 | 20 66 69 6e 64 46 69 65 |then put| findFie|
|00001bf0| 6c 64 41 74 28 74 68 65 | 20 63 6c 69 63 6b 4c 6f |ldAt(the| clickLo|
|00001c00| 63 29 20 69 6e 74 6f 20 | 64 72 61 77 54 79 70 65 |c) into |drawType|
|00001c10| 0d 65 6c 73 65 20 70 75 | 74 20 66 69 6e 64 4f 62 |.else pu|t findOb|
|00001c20| 6a 65 63 74 41 74 28 74 | 68 65 20 63 6c 69 63 6b |jectAt(t|he click|
|00001c30| 4c 6f 63 29 20 69 6e 74 | 6f 20 64 72 61 77 54 79 |Loc) int|o drawTy|
|00001c40| 70 65 0d 69 66 20 64 72 | 61 77 54 79 70 65 20 ad |pe.if dr|awType .|
|00001c50| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 66 6c 69 63 | empty t|hen.flic|
|00001c60| 6b 65 72 20 64 72 61 77 | 54 79 70 65 0d 65 6c 73 |ker draw|Type.els|
|00001c70| 65 20 2d 2d 20 63 6c 69 | 63 6b 20 6f 6e 20 63 61 |e -- cli|ck on ca|
|00001c80| 72 64 0d 70 75 74 20 22 | 62 61 63 6b 69 6e 67 20 |rd.put "|backing |
|00001c90| 63 6f 6c 6f 72 22 20 69 | 6e 74 6f 20 64 72 61 77 |color" i|nto draw|
|00001ca0| 54 79 70 65 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |Type.end| if.end |
|00001cb0| 69 66 0d 2d 2d 0d 70 75 | 74 20 48 47 63 4d 6f 64 |if.--.pu|t HGcMod|
|00001cc0| 65 20 69 6e 74 6f 20 6d | 6f 64 65 0d 69 66 20 77 |e into m|ode.if w|
|00001cd0| 68 69 74 65 4f 75 74 20 | 74 68 65 6e 0d 70 75 74 |hiteOut |then.put|
|00001ce0| 20 77 68 69 74 65 28 29 | 20 69 6e 74 6f 20 63 6f | white()| into co|
|00001cf0| 6c 6f 72 0d 65 6c 73 65 | 20 69 66 20 75 73 65 50 |lor.else| if useP|
|00001d00| 69 63 6b 65 72 20 74 68 | 65 6e 0d 70 75 74 20 63 |icker th|en.put c|
|00001d10| 6f 6c 6f 72 50 69 63 6b | 65 72 28 22 44 72 61 77 |olorPick|er("Draw|
|00001d20| 20 77 69 74 68 20 77 68 | 61 74 20 63 6f 6c 6f 72 | with wh|at color|
|00001d30| 3a 22 29 20 69 6e 74 6f | 20 63 6f 6c 6f 72 0d 69 |:") into| color.i|
|00001d40| 66 20 63 6f 6c 6f 72 20 | 69 73 20 65 6d 70 74 79 |f color |is empty|
|00001d50| 20 74 68 65 6e 20 6e 65 | 78 74 20 72 65 70 65 61 | then ne|xt repea|
|00001d60| 74 0d 70 75 74 20 63 6f | 6c 6f 72 20 69 6e 74 6f |t.put co|lor into|
|00001d70| 20 48 47 63 6f 6c 6f 72 | 0d 65 6c 73 65 20 70 75 | HGcolor|.else pu|
|00001d80| 74 20 48 47 63 6f 6c 6f | 72 20 69 6e 74 6f 20 63 |t HGcolo|r into c|
|00001d90| 6f 6c 6f 72 0d 2d 2d 0d | 73 65 74 20 63 75 72 73 |olor.--.|set curs|
|00001da0| 6f 72 20 74 6f 20 34 0d | 70 75 74 20 48 47 63 6f |or to 4.|put HGco|
|00001db0| 6c 6f 72 43 6d 64 73 20 | 69 6e 74 6f 20 48 47 63 |lorCmds |into HGc|
|00001dc0| 43 6d 64 73 4c 61 73 74 | 0d 69 66 20 64 72 61 77 |CmdsLast|.if draw|
|00001dd0| 54 79 70 65 20 69 73 20 | 22 62 61 63 6b 69 6e 67 |Type is |"backing|
|00001de0| 20 63 6f 6c 6f 72 22 20 | 74 68 65 6e 20 62 61 63 | color" |then bac|
|00001df0| 6b 69 6e 67 43 6f 6c 6f | 72 20 63 6f 6c 6f 72 0d |kingColo|r color.|
|00001e00| 65 6c 73 65 20 69 66 20 | 64 72 61 77 54 79 70 65 |else if |drawType|
|00001e10| 20 69 73 20 22 64 72 61 | 67 22 20 74 68 65 6e 20 | is "dra|g" then |
|00001e20| 6e 65 77 44 72 61 67 43 | 6f 6c 6f 72 20 72 65 63 |newDragC|olor rec|
|00001e30| 74 52 65 66 2c 63 6f 6c | 6f 72 2c 6d 6f 64 65 0d |tRef,col|or,mode.|
|00001e40| 65 6c 73 65 20 6e 65 77 | 4f 62 6a 43 6f 6c 6f 72 |else new|ObjColor|
|00001e50| 20 64 72 61 77 54 79 70 | 65 2c 63 6f 6c 6f 72 2c | drawTyp|e,color,|
|00001e60| 6d 6f 64 65 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |mode.end| repeat.|
|00001e70| 2d 2d 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |--.set c|ursor to|
|00001e80| 20 34 0d 69 66 20 48 47 | 63 6f 6c 6f 72 43 6d 64 | 4.if HG|colorCmd|
|00001e90| 73 ad 6f 72 69 67 43 6f | 6c 6f 72 43 6d 64 73 20 |s.origCo|lorCmds |
|00001ea0| 74 68 65 6e 20 73 65 74 | 43 44 69 72 74 79 0d 72 |then set|CDirty.r|
|00001eb0| 65 73 74 6f 72 65 4d 73 | 67 0d 65 6e 64 20 63 6f |estoreMs|g.end co|
|00001ec0| 6c 6f 72 44 72 61 77 54 | 6f 6f 6c 0d 0d 66 75 6e |lorDrawT|ool..fun|
|00001ed0| 63 74 69 6f 6e 20 77 68 | 69 74 65 20 2d 2d 3e 20 |ction wh|ite --> |
|00001ee0| 52 47 42 0d 72 65 74 75 | 72 6e 20 22 36 35 35 33 |RGB.retu|rn "6553|
|00001ef0| 35 2c 36 35 35 33 35 2c | 36 35 35 33 35 22 0d 65 |5,65535,|65535".e|
|00001f00| 6e 64 20 77 68 69 74 65 | 0d 0d 6f 6e 20 6e 65 77 |nd white|..on new|
|00001f10| 4f 62 6a 43 6f 6c 6f 72 | 20 6f 62 6a 2c 63 6f 6c |ObjColor| obj,col|
|00001f20| 6f 72 2c 6d 6f 64 65 20 | 2d 2d 20 73 61 76 65 20 |or,mode |-- save |
|00001f30| 6e 65 77 20 63 6d 64 20 | 69 6e 20 67 6c 6f 62 61 |new cmd |in globa|
|00001f40| 6c 0d 67 6c 6f 62 61 6c | 20 48 47 63 6f 6c 6f 72 |l.global| HGcolor|
|00001f50| 43 6d 64 73 0d 63 6f 6c | 6f 72 69 7a 65 48 43 20 |Cmds.col|orizeHC |
|00001f60| 22 63 6f 6c 6f 72 46 69 | 6c 6c 22 2c 72 65 63 74 |"colorFi|ll",rect|
|00001f70| 20 6f 66 20 6f 62 6a 2c | 63 6f 6c 6f 72 2c 6d 6f | of obj,|color,mo|
|00001f80| 64 65 0d 67 6f 20 74 6f | 20 74 68 69 73 20 63 61 |de.go to| this ca|
|00001f90| 72 64 0d 70 75 74 20 6f | 62 6a 43 6f 6c 6f 72 43 |rd.put o|bjColorC|
|00001fa0| 6d 64 28 6f 62 6a 2c 63 | 6f 6c 6f 72 2c 6d 6f 64 |md(obj,c|olor,mod|
|00001fb0| 65 29 20 69 6e 74 6f 20 | 63 6d 64 0d 69 66 20 6d |e) into |cmd.if m|
|00001fc0| 6f 64 65 3d 22 43 6f 70 | 79 22 20 6f 72 20 6d 6f |ode="Cop|y" or mo|
|00001fd0| 64 65 3d 22 22 20 74 68 | 65 6e 20 70 75 74 20 64 |de="" th|en put d|
|00001fe0| 65 6c 65 74 65 4c 69 6e | 65 28 28 22 72 65 63 74 |eleteLin|e(("rect|
|00001ff0| 20 6f 66 22 26 26 6f 62 | 6a 26 22 2c 22 29 2c 48 | of"&&ob|j&","),H|
|00002000| 47 63 6f 6c 6f 72 43 6d | 64 73 29 20 69 6e 74 6f |GcolorCm|ds) into|
|00002010| 20 48 47 63 6f 6c 6f 72 | 43 6d 64 73 0d 70 75 74 | HGcolor|Cmds.put|
|00002020| 20 63 6d 64 20 61 66 74 | 65 72 20 48 47 63 6f 6c | cmd aft|er HGcol|
|00002030| 6f 72 43 6d 64 73 0d 65 | 6e 64 20 6e 65 77 4f 62 |orCmds.e|nd newOb|
|00002040| 6a 43 6f 6c 6f 72 0d 0d | 66 75 6e 63 74 69 6f 6e |jColor..|function|
|00002050| 20 6f 62 6a 43 6f 6c 6f | 72 43 6d 64 20 6f 62 6a | objColo|rCmd obj|
|00002060| 2c 63 6f 6c 6f 72 2c 6d | 6f 64 65 20 2d 2d 3e 20 |,color,m|ode --> |
|00002070| 63 48 43 20 63 6d 64 0d | 67 65 74 20 69 66 49 73 |cHC cmd.|get ifIs|
|00002080| 28 6f 62 6a 29 20 26 26 | 20 22 69 66 20 76 69 73 |(obj) &&| "if vis|
|00002090| 69 62 6c 65 20 6f 66 22 | 20 26 26 20 6f 62 6a 20 |ible of"| && obj |
|000020a0| 26 26 c2 0d 22 74 68 65 | 6e 20 63 6f 6c 6f 72 69 |&&.."the|n colori|
|000020b0| 7a 65 48 43 22 20 26 26 | 20 71 75 6f 74 28 22 63 |zeHC" &&| quot("c|
|000020c0| 6f 6c 6f 72 46 69 6c 6c | 22 29 20 26 22 2c 72 65 |olorFill|") &",re|
|000020d0| 63 74 20 6f 66 22 26 26 | 20 6f 62 6a 20 26 22 2c |ct of"&&| obj &",|
|000020e0| 22 26 20 71 75 6f 74 28 | 63 6f 6c 6f 72 29 0d 70 |"& quot(|color).p|
|000020f0| 75 74 20 22 2c 22 20 26 | 20 71 75 6f 74 28 6d 6f |ut "," &| quot(mo|
|00002100| 64 65 29 20 61 66 74 65 | 72 20 49 74 0d 72 65 74 |de) afte|r It.ret|
|00002110| 75 72 6e 20 49 74 20 26 | 20 72 65 74 75 72 6e 0d |urn It &| return.|
|00002120| 65 6e 64 20 6f 62 6a 43 | 6f 6c 6f 72 43 6d 64 0d |end objC|olorCmd.|
|00002130| 0d 6f 6e 20 6e 65 77 44 | 72 61 67 43 6f 6c 6f 72 |.on newD|ragColor|
|00002140| 20 72 65 63 74 52 65 66 | 2c 63 6f 6c 6f 72 2c 6d | rectRef|,color,m|
|00002150| 6f 64 65 20 2d 2d 20 73 | 61 76 65 20 6e 65 77 20 |ode -- s|ave new |
|00002160| 64 72 61 67 20 63 6d 64 | 20 69 6e 20 67 6c 6f 62 |drag cmd| in glob|
|00002170| 61 6c 0d 67 6c 6f 62 61 | 6c 20 48 47 63 6f 6c 6f |al.globa|l HGcolo|
|00002180| 72 43 6d 64 73 0d 63 6f | 6c 6f 72 69 7a 65 48 43 |rCmds.co|lorizeHC|
|00002190| 20 22 63 6f 6c 6f 72 46 | 69 6c 6c 22 2c 76 61 6c | "colorF|ill",val|
|000021a0| 75 65 20 6f 66 20 72 65 | 63 74 52 65 66 2c 63 6f |ue of re|ctRef,co|
|000021b0| 6c 6f 72 2c 6d 6f 64 65 | 0d 67 6f 20 74 6f 20 74 |lor,mode|.go to t|
|000021c0| 68 69 73 20 63 61 72 64 | 0d 70 75 74 20 64 72 61 |his card|.put dra|
|000021d0| 67 43 6f 6c 6f 72 43 6d | 64 28 72 65 63 74 52 65 |gColorCm|d(rectRe|
|000021e0| 66 2c 63 6f 6c 6f 72 2c | 6d 6f 64 65 29 20 69 6e |f,color,|mode) in|
|000021f0| 74 6f 20 63 6d 64 0d 69 | 66 20 72 65 63 74 52 65 |to cmd.i|f rectRe|
|00002200| 66 20 69 73 20 71 75 6f | 74 28 48 43 77 69 6e 64 |f is quo|t(HCwind|
|00002210| 6f 77 28 29 29 20 74 68 | 65 6e 20 2d 2d 20 63 6c |ow()) th|en -- cl|
|00002220| 65 61 72 0d 70 75 74 20 | 63 6d 64 20 69 6e 74 6f |ear.put |cmd into|
|00002230| 20 48 47 63 6f 6c 6f 72 | 43 6d 64 73 0d 65 6c 73 | HGcolor|Cmds.els|
|00002240| 65 0d 69 66 20 6d 6f 64 | 65 3d 22 43 6f 70 79 22 |e.if mod|e="Copy"|
|00002250| 20 74 68 65 6e 20 70 75 | 74 20 64 65 6c 65 74 65 | then pu|t delete|
|00002260| 4c 69 6e 65 28 72 65 63 | 74 52 65 66 26 22 2c 22 |Line(rec|tRef&","|
|00002270| 2c 48 47 63 6f 6c 6f 72 | 43 6d 64 73 29 20 69 6e |,HGcolor|Cmds) in|
|00002280| 74 6f 20 48 47 63 6f 6c | 6f 72 43 6d 64 73 0d 70 |to HGcol|orCmds.p|
|00002290| 75 74 20 63 6d 64 20 61 | 66 74 65 72 20 48 47 63 |ut cmd a|fter HGc|
|000022a0| 6f 6c 6f 72 43 6d 64 73 | 0d 65 6e 64 20 69 66 0d |olorCmds|.end if.|
|000022b0| 65 6e 64 20 6e 65 77 44 | 72 61 67 43 6f 6c 6f 72 |end newD|ragColor|
|000022c0| 0d 0d 66 75 6e 63 74 69 | 6f 6e 20 64 72 61 67 43 |..functi|on dragC|
|000022d0| 6f 6c 6f 72 43 6d 64 20 | 72 65 63 74 52 65 66 2c |olorCmd |rectRef,|
|000022e0| 63 6f 6c 6f 72 2c 6d 6f | 64 65 20 2d 2d 3e 20 63 |color,mo|de --> c|
|000022f0| 48 43 20 63 6d 64 0d 67 | 65 74 20 22 63 6f 6c 6f |HC cmd.g|et "colo|
|00002300| 72 69 7a 65 48 43 22 20 | 26 26 20 71 75 6f 74 28 |rizeHC" |&& quot(|
|00002310| 22 63 6f 6c 6f 72 46 69 | 6c 6c 22 29 20 26 20 22 |"colorFi|ll") & "|
|00002320| 2c 22 26 20 72 65 63 74 | 52 65 66 20 26 22 2c 22 |,"& rect|Ref &","|
|00002330| 26 20 71 75 6f 74 28 63 | 6f 6c 6f 72 29 0d 2d 2d |& quot(c|olor).--|
|00002340| 20 69 66 20 6d 6f 64 65 | ad 65 6d 70 74 79 20 61 | if mode|.empty a|
|00002350| 6e 64 20 6d 6f 64 65 ad | 22 43 6f 70 79 22 20 74 |nd mode.|"Copy" t|
|00002360| 68 65 6e 20 70 75 74 20 | 22 2c 22 20 26 20 71 75 |hen put |"," & qu|
|00002370| 6f 74 28 6d 6f 64 65 29 | 20 61 66 74 65 72 20 49 |ot(mode)| after I|
|00002380| 74 0d 72 65 74 75 72 6e | 20 49 74 20 26 20 72 65 |t.return| It & re|
|00002390| 74 75 72 6e 0d 65 6e 64 | 20 64 72 61 67 43 6f 6c |turn.end| dragCol|
|000023a0| 6f 72 43 6d 64 0d 0d 6f | 6e 20 62 61 63 6b 69 6e |orCmd..o|n backin|
|000023b0| 67 43 6f 6c 6f 72 20 63 | 6f 6c 6f 72 20 2d 2d 20 |gColor c|olor -- |
|000023c0| 67 65 6e 65 72 61 74 65 | 20 22 62 61 63 6b 69 6e |generate| "backin|
|000023d0| 67 22 20 63 6f 6c 6f 72 | 20 6f 6e 20 63 61 72 64 |g" color| on card|
|000023e0| 0d 67 6c 6f 62 61 6c 20 | 48 47 63 6f 6c 6f 72 43 |.global |HGcolorC|
|000023f0| 6d 64 73 0d 70 75 74 20 | 48 43 6c 61 79 65 72 28 |mds.put |HClayer(|
|00002400| 29 20 69 6e 74 6f 20 43 | 4c 0d 70 75 74 20 22 63 |) into C|L.put "c|
|00002410| 6f 6c 6f 72 69 7a 65 48 | 43 22 20 26 26 20 71 75 |olorizeH|C" && qu|
|00002420| 6f 74 28 22 63 6f 6c 6f | 72 46 69 6c 6c 22 29 20 |ot("colo|rFill") |
|00002430| 26 22 2c 22 26 20 71 75 | 6f 74 28 48 43 77 69 6e |&","& qu|ot(HCwin|
|00002440| 64 6f 77 28 29 29 20 26 | c2 0d 22 2c 22 20 26 20 |dow()) &|.."," & |
|00002450| 71 75 6f 74 28 63 6f 6c | 6f 72 29 20 69 6e 74 6f |quot(col|or) into|
|00002460| 20 63 6d 64 0d 67 65 74 | 20 48 47 63 6f 6c 6f 72 | cmd.get| HGcolor|
|00002470| 43 6d 64 73 0d 69 66 20 | 49 74 20 63 6f 6e 74 61 |Cmds.if |It conta|
|00002480| 69 6e 73 20 48 43 77 69 | 6e 64 6f 77 28 29 20 74 |ins HCwi|ndow() t|
|00002490| 68 65 6e 0d 70 75 74 20 | 63 6d 64 20 69 6e 74 6f |hen.put |cmd into|
|000024a0| 20 6c 69 6e 65 20 31 20 | 6f 66 20 49 74 0d 65 6c | line 1 |of It.el|
|000024b0| 73 65 20 2d 2d 20 62 75 | 69 6c 64 20 66 6f 72 65 |se -- bu|ild fore|
|000024c0| 67 72 6e 64 20 6f 62 6a | 73 0d 67 65 74 20 63 6d |grnd obj|s.get cm|
|000024d0| 64 20 26 20 72 65 74 75 | 72 6e 20 26 20 48 47 63 |d & retu|rn & HGc|
|000024e0| 6f 6c 6f 72 43 6d 64 73 | 0d 67 65 74 20 73 63 61 |olorCmds|.get sca|
|000024f0| 6e 4f 62 6a 73 28 22 63 | 61 72 64 22 2c 49 74 29 |nObjs("c|ard",It)|
|00002500| 0d 67 65 74 20 73 63 61 | 6e 4f 62 6a 73 28 22 62 |.get sca|nObjs("b|
|00002510| 6b 67 6e 64 22 2c 49 74 | 29 0d 65 6e 64 20 69 66 |kgnd",It|).end if|
|00002520| 0d 70 75 74 20 49 74 20 | 69 6e 74 6f 20 48 47 63 |.put It |into HGc|
|00002530| 6f 6c 6f 72 43 6d 64 73 | 0d 72 65 64 72 61 77 0d |olorCmds|.redraw.|
|00002540| 65 6e 64 20 62 61 63 6b | 69 6e 67 43 6f 6c 6f 72 |end back|ingColor|
|00002550| 0d 0d 66 75 6e 63 74 69 | 6f 6e 20 73 63 61 6e 4f |..functi|on scanO|
|00002560| 62 6a 73 20 43 4c 2c 63 | 6d 64 4c 69 73 74 20 2d |bjs CL,c|mdList -|
|00002570| 2d 20 61 64 64 20 77 68 | 69 74 65 20 72 65 63 74 |- add wh|ite rect|
|00002580| 73 20 66 6f 72 20 62 74 | 6e 73 20 26 20 66 6c 64 |s for bt|ns & fld|
|00002590| 73 0d 70 75 74 20 77 68 | 69 74 65 28 29 20 69 6e |s.put wh|ite() in|
|000025a0| 74 6f 20 77 68 69 74 65 | 0d 72 65 70 65 61 74 20 |to white|.repeat |
|000025b0| 77 69 74 68 20 69 3d 76 | 61 6c 75 65 20 6f 66 20 |with i=v|alue of |
|000025c0| 28 22 6e 75 6d 62 65 72 | 20 6f 66 22 20 26 26 20 |("number| of" && |
|000025d0| 43 4c 20 26 26 20 22 66 | 69 65 6c 64 73 22 29 20 |CL && "f|ields") |
|000025e0| 64 6f 77 6e 20 74 6f 20 | 31 0d 70 75 74 20 43 4c |down to |1.put CL|
|000025f0| 20 26 26 20 22 66 69 65 | 6c 64 20 69 64 22 20 26 | && "fie|ld id" &|
|00002600| 26 20 76 61 6c 75 65 20 | 6f 66 20 28 22 69 64 20 |& value |of ("id |
|00002610| 6f 66 22 26 26 43 4c 26 | 26 22 66 6c 64 22 26 26 |of"&&CL&|&"fld"&&|
|00002620| 69 29 20 69 6e 74 6f 20 | 66 0d 69 66 20 6e 6f 74 |i) into |f.if not|
|00002630| 20 28 63 6d 64 4c 69 73 | 74 20 63 6f 6e 74 61 69 | (cmdLis|t contai|
|00002640| 6e 73 20 28 66 26 22 2c | 22 29 29 20 61 6e 64 20 |ns (f&",|")) and |
|00002650| 28 76 69 73 69 62 6c 65 | 20 6f 66 20 66 29 20 61 |(visible| of f) a|
|00002660| 6e 64 c2 0d 6e 6f 74 20 | 28 73 74 79 6c 65 20 6f |nd..not |(style o|
|00002670| 66 20 66 20 69 73 20 74 | 72 61 6e 73 70 61 72 65 |f f is t|ranspare|
|00002680| 6e 74 29 0d 74 68 65 6e | 20 70 75 74 20 6f 62 6a |nt).then| put obj|
|00002690| 43 6f 6c 6f 72 43 6d 64 | 28 66 2c 77 68 69 74 65 |ColorCmd|(f,white|
|000026a0| 2c 22 43 6f 70 79 22 29 | 20 62 65 66 6f 72 65 20 |,"Copy")| before |
|000026b0| 6c 69 6e 65 20 32 20 6f | 66 20 63 6d 64 4c 69 73 |line 2 o|f cmdLis|
|000026c0| 74 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 72 65 70 |t.end re|peat.rep|
|000026d0| 65 61 74 20 77 69 74 68 | 20 69 3d 76 61 6c 75 65 |eat with| i=value|
|000026e0| 20 6f 66 20 28 22 6e 75 | 6d 62 65 72 20 6f 66 22 | of ("nu|mber of"|
|000026f0| 20 26 26 20 43 4c 20 26 | 26 20 22 62 75 74 74 6f | && CL &|& "butto|
|00002700| 6e 73 22 29 20 64 6f 77 | 6e 20 74 6f 20 31 0d 70 |ns") dow|n to 1.p|
|00002710| 75 74 20 43 4c 20 26 26 | 20 22 62 75 74 74 6f 6e |ut CL &&| "button|
|00002720| 20 69 64 22 20 26 26 20 | 76 61 6c 75 65 20 6f 66 | id" && |value of|
|00002730| 20 28 22 69 64 20 6f 66 | 22 26 26 43 4c 26 26 22 | ("id of|"&&CL&&"|
|00002740| 62 74 6e 22 26 26 69 29 | 20 69 6e 74 6f 20 62 0d |btn"&&i)| into b.|
|00002750| 69 66 20 6e 6f 74 20 28 | 63 6d 64 4c 69 73 74 20 |if not (|cmdList |
|00002760| 63 6f 6e 74 61 69 6e 73 | 20 28 62 26 22 2c 22 29 |contains| (b&",")|
|00002770| 29 20 61 6e 64 20 28 76 | 69 73 69 62 6c 65 20 6f |) and (v|isible o|
|00002780| 66 20 62 29 20 61 6e 64 | c2 0d 6e 6f 74 20 28 73 |f b) and|..not (s|
|00002790| 74 79 6c 65 20 6f 66 20 | 62 20 69 73 20 74 72 61 |tyle of |b is tra|
|000027a0| 6e 73 70 61 72 65 6e 74 | 29 0d 74 68 65 6e 20 70 |nsparent|).then p|
|000027b0| 75 74 20 6f 62 6a 43 6f | 6c 6f 72 43 6d 64 28 62 |ut objCo|lorCmd(b|
|000027c0| 2c 77 68 69 74 65 2c 22 | 43 6f 70 79 22 29 20 62 |,white,"|Copy") b|
|000027d0| 65 66 6f 72 65 20 6c 69 | 6e 65 20 32 20 6f 66 20 |efore li|ne 2 of |
|000027e0| 63 6d 64 4c 69 73 74 0d | 65 6e 64 20 72 65 70 65 |cmdList.|end repe|
|000027f0| 61 74 0d 72 65 74 75 72 | 6e 20 63 6d 64 4c 69 73 |at.retur|n cmdLis|
|00002800| 74 0d 65 6e 64 20 73 63 | 61 6e 4f 62 6a 73 0d 0d |t.end sc|anObjs..|
|00002810| 6f 6e 20 72 65 64 72 61 | 77 20 2d 2d 20 72 65 64 |on redra|w -- red|
|00002820| 72 61 77 20 74 68 65 20 | 63 6f 6c 6f 72 20 6c 61 |raw the |color la|
|00002830| 79 65 72 20 61 63 63 6f | 72 64 69 6e 67 20 74 6f |yer acco|rding to|
|00002840| 20 67 6c 6f 62 61 6c 20 | 48 43 63 43 0d 67 6c 6f | global |HCcC.glo|
|00002850| 62 61 6c 20 48 47 63 6f | 6c 6f 72 43 6d 64 73 0d |bal HGco|lorCmds.|
|00002860| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 34 0d |set curs|or to 4.|
|00002870| 63 6f 6c 6f 72 69 7a 65 | 48 43 20 22 45 72 61 73 |colorize|HC "Eras|
|00002880| 65 22 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 69 |e".repea|t with i|
|00002890| 3d 31 20 74 6f 20 6e 75 | 6d 62 65 72 20 6f 66 20 |=1 to nu|mber of |
|000028a0| 6c 69 6e 65 73 20 6f 66 | 20 48 47 63 6f 6c 6f 72 |lines of| HGcolor|
|000028b0| 43 6d 64 73 0d 64 6f 20 | 28 6c 69 6e 65 20 69 20 |Cmds.do |(line i |
|000028c0| 6f 66 20 48 47 63 6f 6c | 6f 72 43 6d 64 73 29 0d |of HGcol|orCmds).|
|000028d0| 65 6e 64 20 72 65 70 65 | 61 74 0d 67 6f 20 74 6f |end repe|at.go to|
|000028e0| 20 74 68 69 73 20 63 61 | 72 64 0d 65 6e 64 20 72 | this ca|rd.end r|
|000028f0| 65 64 72 61 77 0d 0d 6f | 6e 20 63 68 65 63 6b 43 |edraw..o|n checkC|
|00002900| 6f 6c 6f 72 53 61 76 65 | 20 2d 2d 20 6d 61 6b 65 |olorSave| -- make|
|00002910| 20 73 75 72 65 20 74 68 | 61 74 20 67 6c 6f 62 61 | sure th|at globa|
|00002920| 6c 20 72 65 66 6c 65 63 | 74 73 20 63 75 72 72 65 |l reflec|ts curre|
|00002930| 6e 74 20 63 61 72 64 27 | 73 20 63 6f 6c 6f 72 0d |nt card'|s color.|
|00002940| 67 6c 6f 62 61 6c 20 48 | 47 63 6f 6c 6f 72 43 6d |global H|GcolorCm|
|00002950| 64 73 2c 48 47 63 43 6d | 64 73 4c 61 73 74 2c 48 |ds,HGcCm|dsLast,H|
|00002960| 47 63 6f 6c 6f 72 53 61 | 76 65 0d 69 66 20 63 6f |GcolorSa|ve.if co|
|00002970| 72 72 65 63 74 4c 61 79 | 65 72 28 29 20 74 68 65 |rrectLay|er() the|
|00002980| 6e 20 65 78 69 74 20 63 | 68 65 63 6b 43 6f 6c 6f |n exit c|heckColo|
|00002990| 72 53 61 76 65 0d 73 65 | 74 20 63 75 72 73 6f 72 |rSave.se|t cursor|
|000029a0| 20 74 6f 20 34 0d 69 66 | 20 63 6f 6c 6f 72 44 69 | to 4.if| colorDi|
|000029b0| 72 74 79 28 29 20 74 68 | 65 6e 20 73 61 76 65 43 |rty() th|en saveC|
|000029c0| 6f 6c 6f 72 0d 70 75 74 | 20 6c 61 79 65 72 54 61 |olor.put| layerTa|
|000029d0| 67 28 29 20 26 20 72 65 | 74 75 72 6e 20 26 20 66 |g() & re|turn & f|
|000029e0| 61 6c 73 65 20 69 6e 74 | 6f 20 48 47 63 6f 6c 6f |alse int|o HGcolo|
|000029f0| 72 53 61 76 65 0d 70 75 | 74 20 63 61 72 64 44 43 |rSave.pu|t cardDC|
|00002a00| 63 6d 64 73 28 29 20 69 | 6e 74 6f 20 48 47 63 6f |cmds() i|nto HGco|
|00002a10| 6c 6f 72 43 6d 64 73 0d | 70 75 74 20 48 47 63 6f |lorCmds.|put HGco|
|00002a20| 6c 6f 72 43 6d 64 73 20 | 69 6e 74 6f 20 48 47 63 |lorCmds |into HGc|
|00002a30| 43 6d 64 73 4c 61 73 74 | 0d 65 6e 64 20 63 68 65 |CmdsLast|.end che|
|00002a40| 63 6b 43 6f 6c 6f 72 53 | 61 76 65 0d 0d 66 75 6e |ckColorS|ave..fun|
|00002a50| 63 74 69 6f 6e 20 63 6f | 6c 6f 72 44 69 72 74 79 |ction co|lorDirty|
|00002a60| 20 2d 2d 3e 20 74 72 75 | 65 2f 66 61 6c 73 65 0d | --> tru|e/false.|
|00002a70| 67 6c 6f 62 61 6c 20 48 | 47 63 6f 6c 6f 72 53 61 |global H|GcolorSa|
|00002a80| 76 65 0d 72 65 74 75 72 | 6e 20 28 6c 69 6e 65 20 |ve.retur|n (line |
|00002a90| 32 20 6f 66 20 48 47 63 | 6f 6c 6f 72 53 61 76 65 |2 of HGc|olorSave|
|00002aa0| 20 69 73 20 74 72 75 65 | 29 0d 65 6e 64 20 63 6f | is true|).end co|
|00002ab0| 6c 6f 72 44 69 72 74 79 | 0d 0d 6f 6e 20 73 65 74 |lorDirty|..on set|
|00002ac0| 43 44 69 72 74 79 20 2d | 2d 20 63 6f 6c 6f 72 20 |CDirty -|- color |
|00002ad0| 68 61 73 20 62 65 65 6e | 20 65 64 69 74 65 64 0d |has been| edited.|
|00002ae0| 67 6c 6f 62 61 6c 20 48 | 47 63 6f 6c 6f 72 53 61 |global H|GcolorSa|
|00002af0| 76 65 0d 70 75 74 20 74 | 72 75 65 20 69 6e 74 6f |ve.put t|rue into|
|00002b00| 20 6c 69 6e 65 20 32 20 | 6f 66 20 48 47 63 6f 6c | line 2 |of HGcol|
|00002b10| 6f 72 53 61 76 65 0d 65 | 6e 64 20 73 65 74 43 44 |orSave.e|nd setCD|
|00002b20| 69 72 74 79 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 63 |irty..fu|nction c|
|00002b30| 6f 72 72 65 63 74 4c 61 | 79 65 72 20 2d 2d 3e 20 |orrectLa|yer --> |
|00002b40| 74 72 75 65 2f 66 61 6c | 73 65 0d 67 6c 6f 62 61 |true/fal|se.globa|
|00002b50| 6c 20 48 47 63 6f 6c 6f | 72 53 61 76 65 0d 72 65 |l HGcolo|rSave.re|
|00002b60| 74 75 72 6e 20 6c 61 79 | 65 72 54 61 67 28 29 20 |turn lay|erTag() |
|00002b70| 69 73 20 28 6c 69 6e 65 | 20 31 20 6f 66 20 48 47 |is (line| 1 of HG|
|00002b80| 63 6f 6c 6f 72 53 61 76 | 65 29 0d 65 6e 64 20 63 |colorSav|e).end c|
|00002b90| 6f 72 72 65 63 74 4c 61 | 79 65 72 0d 0d 66 75 6e |orrectLa|yer..fun|
|00002ba0| 63 74 69 6f 6e 20 6c 61 | 79 65 72 54 61 67 20 2d |ction la|yerTag -|
|00002bb0| 2d 3e 20 22 63 61 72 64 | 20 69 64 20 23 22 20 6f |-> "card| id #" o|
|00002bc0| 72 20 22 62 67 20 69 64 | 20 23 22 0d 67 65 74 20 |r "bg id| #".get |
|00002bd0| 48 43 6c 61 79 65 72 28 | 29 0d 69 66 20 69 73 4f |HClayer(|).if isO|
|00002be0| 6e 42 67 28 49 74 29 20 | 74 68 65 6e 20 72 65 74 |nBg(It) |then ret|
|00002bf0| 75 72 6e 20 49 74 20 26 | 26 20 22 69 64 22 20 26 |urn It &|& "id" &|
|00002c00| 26 20 69 64 20 6f 66 20 | 74 68 69 73 20 62 67 0d |& id of |this bg.|
|00002c10| 65 6c 73 65 20 72 65 74 | 75 72 6e 20 69 64 20 6f |else ret|urn id o|
|00002c20| 66 20 74 68 69 73 20 63 | 64 0d 65 6e 64 20 6c 61 |f this c|d.end la|
|00002c30| 79 65 72 54 61 67 0d 0d | 66 75 6e 63 74 69 6f 6e |yerTag..|function|
|00002c40| 20 48 43 6c 61 79 65 72 | 0d 69 66 20 74 68 65 20 | HClayer|.if the |
|00002c50| 65 64 69 74 42 6b 67 6e | 64 20 69 73 20 74 72 75 |editBkgn|d is tru|
|00002c60| 65 20 74 68 65 6e 20 72 | 65 74 75 72 6e 20 22 62 |e then r|eturn "b|
|00002c70| 61 63 6b 67 72 6f 75 6e | 64 22 0d 65 6c 73 65 20 |ackgroun|d".else |
|00002c80| 72 65 74 75 72 6e 20 22 | 63 61 72 64 22 0d 65 6e |return "|card".en|
|00002c90| 64 20 48 43 6c 61 79 65 | 72 0d 0d 66 75 6e 63 74 |d HClaye|r..funct|
|00002ca0| 69 6f 6e 20 63 61 72 64 | 44 43 63 6d 64 73 20 2d |ion card|DCcmds -|
|00002cb0| 2d 3e 20 72 65 61 64 20 | 63 6f 6c 6f 72 20 63 6d |-> read |color cm|
|00002cc0| 64 73 20 66 72 6f 6d 20 | 63 61 72 64 20 73 63 72 |ds from |card scr|
|00002cd0| 69 70 74 0d 67 65 74 20 | 6f 62 6a 48 61 6e 64 6c |ipt.get |objHandl|
|00002ce0| 65 72 28 22 64 72 61 77 | 43 6f 6c 6f 72 22 2c 22 |er("draw|Color","|
|00002cf0| 74 68 69 73 22 26 26 48 | 43 6c 61 79 65 72 28 29 |this"&&H|Clayer()|
|00002d00| 29 0d 67 65 74 20 64 65 | 6c 65 74 65 4c 69 6e 65 |).get de|leteLine|
|00002d10| 28 22 6f 6e 20 64 72 61 | 77 43 6f 6c 6f 72 22 2c |("on dra|wColor",|
|00002d20| 49 74 29 0d 67 65 74 20 | 64 65 6c 65 74 65 4c 69 |It).get |deleteLi|
|00002d30| 6e 65 28 22 65 6e 64 20 | 64 72 61 77 43 6f 6c 6f |ne("end |drawColo|
|00002d40| 72 22 2c 49 74 29 0d 67 | 65 74 20 64 65 6c 65 74 |r",It).g|et delet|
|00002d50| 65 4c 69 6e 65 28 22 67 | 6f 20 74 6f 20 74 68 69 |eLine("g|o to thi|
|00002d60| 73 20 63 61 72 64 22 2c | 49 74 29 0d 67 65 74 20 |s card",|It).get |
|00002d70| 64 65 6c 65 74 65 4c 69 | 6e 65 28 22 73 65 74 20 |deleteLi|ne("set |
|00002d80| 6c 6f 63 6b 53 63 72 65 | 65 6e 20 74 6f 20 66 61 |lockScre|en to fa|
|00002d90| 6c 73 65 22 2c 49 74 29 | 0d 72 65 74 75 72 6e 20 |lse",It)|.return |
|00002da0| 49 74 0d 65 6e 64 20 63 | 61 72 64 44 43 63 6d 64 |It.end c|ardDCcmd|
|00002db0| 73 0d 0d 6f 6e 20 73 61 | 76 65 43 6f 6c 6f 72 20 |s..on sa|veColor |
|00002dc0| 2d 2d 20 73 61 76 65 20 | 63 6f 6c 6f 72 20 69 66 |-- save |color if|
|00002dd0| 20 65 64 69 74 65 64 0d | 67 6c 6f 62 61 6c 20 48 | edited.|global H|
|00002de0| 47 63 6f 6c 6f 72 43 6d | 64 73 2c 48 47 63 6f 6c |GcolorCm|ds,HGcol|
|00002df0| 6f 72 53 61 76 65 0d 69 | 66 20 63 6f 6c 6f 72 44 |orSave.i|f colorD|
|00002e00| 69 72 74 79 28 29 20 74 | 68 65 6e 0d 69 66 20 6e |irty() t|hen.if n|
|00002e10| 6f 74 20 63 6f 72 72 65 | 63 74 4c 61 79 65 72 28 |ot corre|ctLayer(|
|00002e20| 29 20 74 68 65 6e 0d 73 | 65 74 20 74 68 65 20 6c |) then.s|et the l|
|00002e30| 6f 63 6b 4d 65 73 73 61 | 67 65 73 20 74 6f 20 74 |ockMessa|ges to t|
|00002e40| 72 75 65 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |rue.lock| screen.|
|00002e50| 70 75 73 68 20 63 61 72 | 64 0d 67 6f 20 74 6f 20 |push car|d.go to |
|00002e60| 28 6c 69 6e 65 20 31 20 | 6f 66 20 48 47 63 6f 6c |(line 1 |of HGcol|
|00002e70| 6f 72 53 61 76 65 29 0d | 69 6e 73 74 61 6c 6c 44 |orSave).|installD|
|00002e80| 43 63 6d 64 73 0d 70 6f | 70 20 63 61 72 64 0d 75 |Ccmds.po|p card.u|
|00002e90| 6e 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 73 65 74 |nlock sc|reen.set|
|00002ea0| 20 74 68 65 20 6c 6f 63 | 6b 4d 65 73 73 61 67 65 | the loc|kMessage|
|00002eb0| 73 20 74 6f 20 66 61 6c | 73 65 0d 65 6c 73 65 0d |s to fal|se.else.|
|00002ec0| 73 61 76 65 4d 73 67 0d | 6d 73 67 20 22 53 61 76 |saveMsg.|msg "Sav|
|00002ed0| 69 6e 67 20 63 6f 6c 6f | 72 2e 2e 2e 22 0d 69 6e |ing colo|r...".in|
|00002ee0| 73 74 61 6c 6c 44 43 63 | 6d 64 73 0d 63 6f 6c 6f |stallDCc|mds.colo|
|00002ef0| 72 69 7a 65 48 43 20 22 | 65 72 61 73 65 22 0d 72 |rizeHC "|erase".r|
|00002f00| 65 73 74 6f 72 65 4d 73 | 67 0d 65 6e 64 20 69 66 |estoreMs|g.end if|
|00002f10| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|00002f20| 48 47 63 6f 6c 6f 72 53 | 61 76 65 0d 65 6e 64 20 |HGcolorS|ave.end |
|00002f30| 69 66 0d 65 6e 64 20 73 | 61 76 65 43 6f 6c 6f 72 |if.end s|aveColor|
|00002f40| 0d 0d 6f 6e 20 69 6e 73 | 74 61 6c 6c 44 43 63 6d |..on ins|tallDCcm|
|00002f50| 64 73 20 2d 2d 20 73 61 | 76 65 20 67 6c 6f 62 61 |ds -- sa|ve globa|
|00002f60| 6c 20 63 6f 6c 6f 72 20 | 63 6d 64 73 20 69 6e 74 |l color |cmds int|
|00002f70| 6f 20 63 61 72 64 20 73 | 63 72 69 70 74 0d 67 6c |o card s|cript.gl|
|00002f80| 6f 62 61 6c 20 48 47 63 | 6f 6c 6f 72 43 6d 64 73 |obal HGc|olorCmds|
|00002f90| 2c 48 47 63 6f 6c 6f 72 | 53 61 76 65 0d 73 65 74 |,HGcolor|Save.set|
|00002fa0| 20 63 75 72 73 6f 72 20 | 74 6f 20 34 0d 70 75 74 | cursor |to 4.put|
|00002fb0| 20 77 6f 72 64 20 31 20 | 6f 66 20 48 47 63 6f 6c | word 1 |of HGcol|
|00002fc0| 6f 72 53 61 76 65 20 69 | 6e 74 6f 20 43 4c 0d 70 |orSave i|nto CL.p|
|00002fd0| 75 74 20 28 43 4c 20 69 | 73 20 22 62 61 63 6b 67 |ut (CL i|s "backg|
|00002fe0| 72 6f 75 6e 64 22 29 20 | 69 6e 74 6f 20 6f 6e 42 |round") |into onB|
|00002ff0| 67 0d 69 6e 73 65 72 74 | 49 6e 48 61 6e 64 6c 65 |g.insert|InHandle|
|00003000| 72 20 22 74 68 69 73 22 | 26 26 43 4c 2c 22 6f 70 |r "this"|&&CL,"op|
|00003010| 65 6e 22 26 43 4c 2c 22 | 64 72 61 77 43 6f 6c 6f |en"&CL,"|drawColo|
|00003020| 72 22 2c 74 72 75 65 0d | 69 6e 73 65 72 74 49 6e |r",true.|insertIn|
|00003030| 48 61 6e 64 6c 65 72 20 | 22 74 68 69 73 22 26 26 |Handler |"this"&&|
|00003040| 43 4c 2c 22 63 6c 6f 73 | 65 22 26 43 4c 2c 22 63 |CL,"clos|e"&CL,"c|
|00003050| 6f 6c 6f 72 69 7a 65 48 | 43 22 26 26 71 75 6f 74 |olorizeH|C"&&quot|
|00003060| 28 22 45 72 61 73 65 22 | 29 2c 74 72 75 65 0d 67 |("Erase"|),true.g|
|00003070| 65 74 20 22 6f 6e 20 64 | 72 61 77 43 6f 6c 6f 72 |et "on d|rawColor|
|00003080| 22 20 26 72 65 74 75 72 | 6e 26 20 48 47 63 6f 6c |" &retur|n& HGcol|
|00003090| 6f 72 43 6d 64 73 20 26 | 20 22 67 6f 20 74 6f 20 |orCmds &| "go to |
|000030a0| 74 68 69 73 20 63 61 72 | 64 22 20 26 c2 0d 72 65 |this car|d" &..re|
|000030b0| 74 75 72 6e 20 26 20 22 | 73 65 74 20 6c 6f 63 6b |turn & "|set lock|
|000030c0| 53 63 72 65 65 6e 20 74 | 6f 20 66 61 6c 73 65 22 |Screen t|o false"|
|000030d0| 20 26 72 65 74 75 72 6e | 26 20 22 65 6e 64 20 64 | &return|& "end d|
|000030e0| 72 61 77 43 6f 6c 6f 72 | 22 0d 72 65 70 6c 61 63 |rawColor|".replac|
|000030f0| 65 48 61 6e 64 6c 65 72 | 20 22 74 68 69 73 22 26 |eHandler| "this"&|
|00003100| 26 43 4c 2c 22 64 72 61 | 77 43 6f 6c 6f 72 22 2c |&CL,"dra|wColor",|
|00003110| 49 74 0d 65 6e 64 20 69 | 6e 73 74 61 6c 6c 44 43 |It.end i|nstallDC|
|00003120| 63 6d 64 73 0d 0d 6f 6e | 20 69 6e 73 65 72 74 49 |cmds..on| insertI|
|00003130| 6e 48 61 6e 64 6c 65 72 | 20 6f 62 6a 2c 68 61 6e |nHandler| obj,han|
|00003140| 64 6c 65 72 2c 63 6f 64 | 65 2c 6e 6f 44 75 70 65 |dler,cod|e,noDupe|
|00003150| 2c 6e 6f 50 61 73 73 0d | 70 75 74 20 73 63 72 69 |,noPass.|put scri|
|00003160| 70 74 20 6f 66 20 6f 62 | 6a 20 69 6e 74 6f 20 73 |pt of ob|j into s|
|00003170| 6f 75 72 63 65 0d 67 65 | 74 20 67 65 74 48 61 6e |ource.ge|t getHan|
|00003180| 64 6c 65 72 28 68 61 6e | 64 6c 65 72 2c 73 6f 75 |dler(han|dler,sou|
|00003190| 72 63 65 29 0d 69 66 20 | 6e 6f 44 75 70 65 20 69 |rce).if |noDupe i|
|000031a0| 73 20 74 72 75 65 20 74 | 68 65 6e 20 69 66 20 49 |s true t|hen if I|
|000031b0| 74 20 63 6f 6e 74 61 69 | 6e 73 20 63 6f 64 65 20 |t contai|ns code |
|000031c0| 74 68 65 6e 20 65 78 69 | 74 20 69 6e 73 65 72 74 |then exi|t insert|
|000031d0| 49 6e 48 61 6e 64 6c 65 | 72 0d 69 66 20 49 74 20 |InHandle|r.if It |
|000031e0| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 67 65 |is empty| then.ge|
|000031f0| 74 20 22 6f 6e 22 26 26 | 68 61 6e 64 6c 65 72 26 |t "on"&&|handler&|
|00003200| 72 65 74 75 72 6e 26 22 | 70 61 73 73 22 26 26 68 |return&"|pass"&&h|
|00003210| 61 6e 64 6c 65 72 26 72 | 65 74 75 72 6e 26 22 65 |andler&r|eturn&"e|
|00003220| 6e 64 22 26 26 68 61 6e | 64 6c 65 72 0d 69 66 20 |nd"&&han|dler.if |
|00003230| 6e 6f 50 61 73 73 20 69 | 73 20 74 72 75 65 20 74 |noPass i|s true t|
|00003240| 68 65 6e 20 64 65 6c 65 | 74 65 20 6c 69 6e 65 20 |hen dele|te line |
|00003250| 32 20 6f 66 20 49 74 0d | 65 6e 64 20 69 66 0d 70 |2 of It.|end if.p|
|00003260| 75 74 20 63 6f 64 65 26 | 72 65 74 75 72 6e 20 62 |ut code&|return b|
|00003270| 65 66 6f 72 65 20 6c 69 | 6e 65 20 32 20 6f 66 20 |efore li|ne 2 of |
|00003280| 49 74 0d 72 65 70 6c 61 | 63 65 48 61 6e 64 6c 65 |It.repla|ceHandle|
|00003290| 72 20 6f 62 6a 2c 68 61 | 6e 64 6c 65 72 2c 49 74 |r obj,ha|ndler,It|
|000032a0| 2c 73 6f 75 72 63 65 0d | 65 6e 64 20 69 6e 73 65 |,source.|end inse|
|000032b0| 72 74 49 6e 48 61 6e 64 | 6c 65 72 0d 0d 66 75 6e |rtInHand|ler..fun|
|000032c0| 63 74 69 6f 6e 20 69 73 | 48 61 6e 64 6c 65 72 20 |ction is|Handler |
|000032d0| 68 61 6e 64 6c 65 72 2c | 6f 62 6a 2c 73 6f 75 72 |handler,|obj,sour|
|000032e0| 63 65 20 2d 2d 3e 20 74 | 2f 66 0d 69 66 20 73 6f |ce --> t|/f.if so|
|000032f0| 75 72 63 65 20 69 73 20 | 65 6d 70 74 79 20 61 6e |urce is |empty an|
|00003300| 64 20 6f 62 6a ad 65 6d | 70 74 79 20 74 68 65 6e |d obj.em|pty then|
|00003310| 20 70 75 74 20 73 63 72 | 69 70 74 20 6f 66 20 6f | put scr|ipt of o|
|00003320| 62 6a 20 69 6e 74 6f 20 | 73 6f 75 72 63 65 0d 67 |bj into |source.g|
|00003330| 65 74 20 66 69 6e 64 4c | 69 6e 65 73 28 22 6f 6e |et findL|ines("on|
|00003340| 22 26 26 68 61 6e 64 6c | 65 72 2c 73 6f 75 72 63 |"&&handl|er,sourc|
|00003350| 65 29 0d 69 66 20 49 74 | 20 69 73 20 65 6d 70 74 |e).if It| is empt|
|00003360| 79 20 74 68 65 6e 20 72 | 65 74 75 72 6e 20 66 61 |y then r|eturn fa|
|00003370| 6c 73 65 0d 72 65 74 75 | 72 6e 20 77 6f 72 64 20 |lse.retu|rn word |
|00003380| 31 20 74 6f 20 32 20 6f | 66 20 6c 69 6e 65 20 49 |1 to 2 o|f line I|
|00003390| 74 20 6f 66 20 73 6f 75 | 72 63 65 20 69 73 20 22 |t of sou|rce is "|
|000033a0| 6f 6e 22 26 26 68 61 6e | 64 6c 65 72 0d 65 6e 64 |on"&&han|dler.end|
|000033b0| 20 69 73 48 61 6e 64 6c | 65 72 0d 0d 6f 6e 20 72 | isHandl|er..on r|
|000033c0| 65 70 6c 61 63 65 48 61 | 6e 64 6c 65 72 20 6f 62 |eplaceHa|ndler ob|
|000033d0| 6a 2c 68 61 6e 64 6c 65 | 72 2c 63 6f 64 65 2c 49 |j,handle|r,code,I|
|000033e0| 74 0d 69 66 20 49 74 20 | 69 73 20 65 6d 70 74 79 |t.if It |is empty|
|000033f0| 20 74 68 65 6e 20 67 65 | 74 20 73 63 72 69 70 74 | then ge|t script|
|00003400| 20 6f 66 20 6f 62 6a 0d | 69 66 20 49 74 20 63 6f | of obj.|if It co|
|00003410| 6e 74 61 69 6e 73 20 22 | 6f 6e 22 26 26 68 61 6e |ntains "|on"&&han|
|00003420| 64 6c 65 72 20 74 68 65 | 6e 0d 70 75 74 20 63 6f |dler the|n.put co|
|00003430| 64 65 20 69 6e 74 6f 20 | 6c 69 6e 65 20 28 66 69 |de into |line (fi|
|00003440| 6e 64 4c 69 6e 65 73 28 | 22 6f 6e 22 26 26 68 61 |ndLines(|"on"&&ha|
|00003450| 6e 64 6c 65 72 2c 49 74 | 29 29 20 74 6f c2 0d 28 |ndler,It|)) to..(|
|00003460| 66 69 6e 64 4c 69 6e 65 | 73 28 22 65 6e 64 22 26 |findLine|s("end"&|
|00003470| 26 68 61 6e 64 6c 65 72 | 2c 49 74 29 29 20 6f 66 |&handler|,It)) of|
|00003480| 20 49 74 0d 65 6c 73 65 | 20 70 75 74 20 72 65 74 | It.else| put ret|
|00003490| 75 72 6e 26 63 6f 64 65 | 26 72 65 74 75 72 6e 20 |urn&code|&return |
|000034a0| 61 66 74 65 72 20 49 74 | 0d 73 65 74 20 73 63 72 |after It|.set scr|
|000034b0| 69 70 74 20 6f 66 20 6f | 62 6a 20 74 6f 20 49 74 |ipt of o|bj to It|
|000034c0| 0d 65 6e 64 20 72 65 70 | 6c 61 63 65 48 61 6e 64 |.end rep|laceHand|
|000034d0| 6c 65 72 0d 0d 66 75 6e | 63 74 69 6f 6e 20 67 65 |ler..fun|ction ge|
|000034e0| 74 48 61 6e 64 6c 65 72 | 20 68 6e 64 6c 72 2c 73 |tHandler| hndlr,s|
|000034f0| 6f 75 72 63 65 0d 69 66 | 20 69 73 48 61 6e 64 6c |ource.if| isHandl|
|00003500| 65 72 28 68 6e 64 6c 72 | 2c 22 22 2c 73 6f 75 72 |er(hndlr|,"",sour|
|00003510| 63 65 29 0d 74 68 65 6e | 20 72 65 74 75 72 6e 20 |ce).then| return |
|00003520| 63 68 75 6e 6b 4f 66 28 | 73 6f 75 72 63 65 2c 22 |chunkOf(|source,"|
|00003530| 6f 6e 22 26 26 68 6e 64 | 6c 72 2c 22 65 6e 64 22 |on"&&hnd|lr,"end"|
|00003540| 26 26 68 6e 64 6c 72 29 | 0d 72 65 74 75 72 6e 20 |&&hndlr)|.return |
|00003550| 65 6d 70 74 79 0d 65 6e | 64 20 67 65 74 48 61 6e |empty.en|d getHan|
|00003560| 64 6c 65 72 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 63 |dler..fu|nction c|
|00003570| 68 75 6e 6b 4f 66 20 73 | 6f 75 72 63 65 2c 74 78 |hunkOf s|ource,tx|
|00003580| 74 31 2c 74 78 74 32 0d | 70 75 74 20 6f 66 66 73 |t1,txt2.|put offs|
|00003590| 65 74 28 74 78 74 31 2c | 73 6f 75 72 63 65 29 20 |et(txt1,|source) |
|000035a0| 69 6e 74 6f 20 63 31 0d | 70 75 74 20 6f 66 66 73 |into c1.|put offs|
|000035b0| 65 74 28 74 78 74 32 2c | 63 68 61 72 20 63 31 20 |et(txt2,|char c1 |
|000035c0| 74 6f 20 39 39 39 39 39 | 39 20 6f 66 20 73 6f 75 |to 99999|9 of sou|
|000035d0| 72 63 65 29 2b 63 31 2d | 31 20 69 6e 74 6f 20 63 |rce)+c1-|1 into c|
|000035e0| 32 0d 69 66 20 63 31 3d | 30 20 6f 72 20 63 31 3e |2.if c1=|0 or c1>|
|000035f0| 3d 63 32 20 74 68 65 6e | 20 72 65 74 75 72 6e 20 |=c2 then| return |
|00003600| 65 6d 70 74 79 0d 65 6c | 73 65 20 72 65 74 75 72 |empty.el|se retur|
|00003610| 6e 20 63 68 61 72 20 63 | 31 20 74 6f 20 28 63 32 |n char c|1 to (c2|
|00003620| 20 2b 20 6c 65 6e 67 74 | 68 20 6f 66 20 74 78 74 | + lengt|h of txt|
|00003630| 32 20 2d 20 31 29 20 6f | 66 20 73 6f 75 72 63 65 |2 - 1) o|f source|
|00003640| 0d 65 6e 64 20 63 68 75 | 6e 6b 4f 66 0d 0d 66 75 |.end chu|nkOf..fu|
|00003650| 6e 63 74 69 6f 6e 20 64 | 65 6c 65 74 65 4c 69 6e |nction d|eleteLin|
|00003660| 65 20 74 65 78 74 2c 73 | 6f 75 72 63 65 20 2d 2d |e text,s|ource --|
|00003670| 3e 20 65 64 69 74 65 64 | 20 73 6f 75 72 63 65 0d |> edited| source.|
|00003680| 67 65 74 20 66 69 6e 64 | 4c 69 6e 65 73 28 74 65 |get find|Lines(te|
|00003690| 78 74 2c 73 6f 75 72 63 | 65 29 0d 69 66 20 49 74 |xt,sourc|e).if It|
|000036a0| ad 65 6d 70 74 79 20 74 | 68 65 6e 20 64 65 6c 65 |.empty t|hen dele|
|000036b0| 74 65 20 6c 69 6e 65 20 | 49 74 20 6f 66 20 73 6f |te line |It of so|
|000036c0| 75 72 63 65 0d 72 65 74 | 75 72 6e 20 73 6f 75 72 |urce.ret|urn sour|
|000036d0| 63 65 0d 65 6e 64 20 64 | 65 6c 65 74 65 4c 69 6e |ce.end d|eleteLin|
|000036e0| 65 0d 0d 66 75 6e 63 74 | 69 6f 6e 20 6f 62 6a 48 |e..funct|ion objH|
|000036f0| 61 6e 64 6c 65 72 20 68 | 6e 64 6c 72 2c 6f 62 6a |andler h|ndlr,obj|
|00003700| 0d 67 65 74 20 73 63 72 | 69 70 74 20 6f 66 20 6f |.get scr|ipt of o|
|00003710| 62 6a 0d 72 65 74 75 72 | 6e 20 67 65 74 48 61 6e |bj.retur|n getHan|
|00003720| 64 6c 65 72 28 68 6e 64 | 6c 72 2c 49 74 29 0d 65 |dler(hnd|lr,It).e|
|00003730| 6e 64 20 6f 62 6a 48 61 | 6e 64 6c 65 72 0d 0d 6f |nd objHa|ndler..o|
|00003740| 6e 20 75 70 64 61 74 65 | 43 6f 6c 6f 72 20 6f 70 |n update|Color op|
|00003750| 74 4b 65 79 0d 67 6c 6f | 62 61 6c 20 48 47 63 6f |tKey.glo|bal HGco|
|00003760| 6c 6f 72 53 61 76 65 0d | 73 65 74 20 63 75 72 73 |lorSave.|set curs|
|00003770| 6f 72 20 74 6f 20 34 0d | 69 66 20 6f 70 74 4b 65 |or to 4.|if optKe|
|00003780| 79 20 69 73 20 64 6f 77 | 6e 20 74 68 65 6e 20 70 |y is dow|n then p|
|00003790| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 48 47 |ut empty| into HG|
|000037a0| 63 6f 6c 6f 72 53 61 76 | 65 0d 65 6c 73 65 20 73 |colorSav|e.else s|
|000037b0| 61 76 65 43 6f 6c 6f 72 | 0d 73 65 74 20 63 75 72 |aveColor|.set cur|
|000037c0| 73 6f 72 20 74 6f 20 34 | 0d 63 6f 6c 6f 72 69 7a |sor to 4|.coloriz|
|000037d0| 65 48 43 20 22 65 6e 61 | 62 6c 65 22 0d 72 65 64 |eHC "ena|ble".red|
|000037e0| 72 61 77 43 6c 72 0d 65 | 6e 64 20 75 70 64 61 74 |rawClr.e|nd updat|
|000037f0| 65 43 6f 6c 6f 72 0d 0d | 6f 6e 20 65 72 61 73 65 |eColor..|on erase|
|00003800| 41 6c 6c 0d 63 6f 6c 6f | 72 45 72 61 73 65 72 20 |All.colo|rEraser |
|00003810| 74 72 75 65 0d 65 6e 64 | 20 65 72 61 73 65 41 6c |true.end| eraseAl|
|00003820| 6c 0d 0d 6f 6e 20 63 6f | 6c 6f 72 45 72 61 73 65 |l..on co|lorErase|
|00003830| 72 20 64 62 6c 43 6c 69 | 63 6b 20 2d 2d 20 65 72 |r dblCli|ck -- er|
|00003840| 61 73 65 72 20 6f 6e 20 | 70 61 6c 65 74 74 65 20 |aser on |palette |
|00003850| 63 6c 69 63 6b 65 64 0d | 67 6c 6f 62 61 6c 20 48 |clicked.|global H|
|00003860| 47 63 6f 6c 6f 72 43 6d | 64 73 2c 48 47 63 43 6d |GcolorCm|ds,HGcCm|
|00003870| 64 73 4c 61 73 74 0d 63 | 68 65 63 6b 43 6f 6c 6f |dsLast.c|heckColo|
|00003880| 72 53 61 76 65 0d 69 66 | 20 64 62 6c 43 6c 69 63 |rSave.if| dblClic|
|00003890| 6b 20 74 68 65 6e 20 2d | 2d 20 65 72 61 73 65 20 |k then -|- erase |
|000038a0| 61 6c 6c 0d 61 6e 73 77 | 65 72 20 22 52 65 70 6c |all.answ|er "Repl|
|000038b0| 61 63 65 20 41 4c 4c 20 | 63 6f 6c 6f 72 20 28 61 |ace ALL |color (a|
|000038c0| 6e 64 20 61 74 74 61 63 | 68 65 64 20 50 49 43 54 |nd attac|hed PICT|
|000038d0| 73 29 20 6f 6e 20 74 68 | 65 20 63 61 72 64 3f 22 |s) on th|e card?"|
|000038e0| 20 77 69 74 68 c2 0d 22 | 59 65 73 22 20 6f 72 20 | with.."|Yes" or |
|000038f0| 22 4e 6f 22 0d 69 66 20 | 49 74 20 69 73 20 22 4e |"No".if |It is "N|
|00003900| 6f 22 20 74 68 65 6e 20 | 65 78 69 74 20 63 6f 6c |o" then |exit col|
|00003910| 6f 72 45 72 61 73 65 72 | 0d 73 65 74 20 63 75 72 |orEraser|.set cur|
|00003920| 73 6f 72 20 74 6f 20 34 | 0d 63 6f 6c 6f 72 69 7a |sor to 4|.coloriz|
|00003930| 65 48 43 20 22 45 72 61 | 73 65 22 0d 67 6f 20 74 |eHC "Era|se".go t|
|00003940| 6f 20 74 68 69 73 20 63 | 61 72 64 0d 73 65 74 43 |o this c|ard.setC|
|00003950| 44 69 72 74 79 0d 70 75 | 74 20 48 47 63 6f 6c 6f |Dirty.pu|t HGcolo|
|00003960| 72 43 6d 64 73 20 69 6e | 74 6f 20 48 47 63 43 6d |rCmds in|to HGcCm|
|00003970| 64 73 4c 61 73 74 0d 70 | 75 74 20 65 6d 70 74 79 |dsLast.p|ut empty|
|00003980| 20 69 6e 74 6f 20 48 47 | 63 6f 6c 6f 72 43 6d 64 | into HG|colorCmd|
|00003990| 73 0d 65 6c 73 65 20 69 | 66 20 48 47 63 6f 6c 6f |s.else i|f HGcolo|
|000039a0| 72 43 6d 64 73 20 ad 20 | 48 47 63 43 6d 64 73 4c |rCmds . |HGcCmdsL|
|000039b0| 61 73 74 20 74 68 65 6e | 20 2d 2d 20 75 6e 64 6f |ast then| -- undo|
|000039c0| 0d 67 65 74 20 48 47 63 | 6f 6c 6f 72 43 6d 64 73 |.get HGc|olorCmds|
|000039d0| 0d 70 75 74 20 48 47 63 | 43 6d 64 73 4c 61 73 74 |.put HGc|CmdsLast|
|000039e0| 20 69 6e 74 6f 20 48 47 | 63 6f 6c 6f 72 43 6d 64 | into HG|colorCmd|
|000039f0| 73 0d 70 75 74 20 49 74 | 20 69 6e 74 6f 20 48 47 |s.put It| into HG|
|00003a00| 63 43 6d 64 73 4c 61 73 | 74 0d 72 65 64 72 61 77 |cCmdsLas|t.redraw|
|00003a10| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 63 6f 6c 6f |.end if.|end colo|
|00003a20| 72 45 72 61 73 65 72 0d | 0d 2d 2d 20 d9 d9 d9 20 |rEraser.|.-- ... |
|00003a30| 50 49 43 54 53 20 d9 d9 | d9 0d 6f 6e 20 70 6c 61 |PICTS ..|..on pla|
|00003a40| 63 65 43 48 43 70 69 63 | 74 20 62 0d 70 75 74 20 |ceCHCpic|t b.put |
|00003a50| 22 66 69 6c 65 22 20 69 | 6e 74 6f 20 70 69 63 74 |"file" i|nto pict|
|00003a60| 53 6f 75 72 63 65 0d 70 | 75 74 20 74 72 75 65 20 |Source.p|ut true |
|00003a70| 69 6e 74 6f 20 66 72 6f | 6d 46 69 6c 65 0d 73 65 |into fro|mFile.se|
|00003a80| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 34 0d 61 6e |t cursor| to 4.an|
|00003a90| 73 77 65 72 20 66 69 6c | 65 20 22 53 65 6c 65 63 |swer fil|e "Selec|
|00003aa0| 74 20 61 20 50 49 43 54 | 20 66 6f 72 6d 61 74 20 |t a PICT| format |
|00003ab0| 64 6f 63 75 6d 65 6e 74 | 20 74 6f 20 6f 70 65 6e |document| to open|
|00003ac0| 3a 22 20 6f 66 20 74 79 | 70 65 20 70 69 63 74 75 |:" of ty|pe pictu|
|00003ad0| 72 65 0d 69 66 20 74 68 | 65 20 72 65 73 75 6c 74 |re.if th|e result|
|00003ae0| 20 ad 20 65 6d 70 74 79 | 20 74 68 65 6e 20 65 78 | . empty| then ex|
|00003af0| 69 74 20 70 6c 61 63 65 | 43 48 43 70 69 63 74 0d |it place|CHCpict.|
|00003b00| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 34 0d |set curs|or to 4.|
|00003b10| 2d 2d 20 69 66 20 63 68 | 65 63 6b 46 69 6c 65 28 |-- if ch|eckFile(|
|00003b20| 49 74 29 20 69 73 20 22 | 43 61 6e 63 65 6c 22 20 |It) is "|Cancel" |
|00003b30| 74 68 65 6e 20 65 78 69 | 74 20 70 6c 61 63 65 43 |then exi|t placeC|
|00003b40| 48 43 70 69 63 74 0d 70 | 75 74 20 49 74 20 69 6e |HCpict.p|ut It in|
|00003b50| 74 6f 20 70 69 63 74 75 | 72 65 46 69 6c 65 0d 70 |to pictu|reFile.p|
|00003b60| 75 74 20 6c 61 73 74 4e | 61 6d 65 28 49 74 29 20 |ut lastN|ame(It) |
|00003b70| 69 6e 74 6f 20 70 69 63 | 74 4e 61 6d 65 0d 69 66 |into pic|tName.if|
|00003b80| 20 74 68 65 72 65 20 69 | 73 20 61 20 77 69 6e 64 | there i|s a wind|
|00003b90| 6f 77 20 70 69 63 74 4e | 61 6d 65 20 74 68 65 6e |ow pictN|ame then|
|00003ba0| 20 63 6c 6f 73 65 20 77 | 69 6e 64 6f 77 20 70 69 | close w|indow pi|
|00003bb0| 63 74 4e 61 6d 65 0d 70 | 69 63 74 75 72 65 20 70 |ctName.p|icture p|
|00003bc0| 69 63 74 75 72 65 46 69 | 6c 65 2c 70 69 63 74 53 |ictureFi|le,pictS|
|00003bd0| 6f 75 72 63 65 2c 22 72 | 65 63 74 22 0d 70 75 74 |ource,"r|ect".put|
|00003be0| 20 70 69 63 74 4e 61 6d | 65 20 69 6e 74 6f 20 77 | pictNam|e into w|
|00003bf0| 64 4e 61 6d 65 0d 67 65 | 74 20 72 65 63 74 20 6f |dName.ge|t rect o|
|00003c00| 66 20 77 69 6e 64 6f 77 | 20 77 64 4e 61 6d 65 0d |f window| wdName.|
|00003c10| 70 75 74 20 28 69 74 65 | 6d 20 33 20 6f 66 20 49 |put (ite|m 3 of I|
|00003c20| 74 20 2d 20 69 74 65 6d | 20 31 20 6f 66 20 49 74 |t - item| 1 of It|
|00003c30| 29 20 64 69 76 20 32 20 | 69 6e 74 6f 20 70 69 63 |) div 2 |into pic|
|00003c40| 74 48 43 65 6e 74 65 72 | 0d 70 75 74 20 28 69 74 |tHCenter|.put (it|
|00003c50| 65 6d 20 34 20 6f 66 20 | 49 74 20 2d 20 69 74 65 |em 4 of |It - ite|
|00003c60| 6d 20 32 20 6f 66 20 49 | 74 29 20 64 69 76 20 32 |m 2 of I|t) div 2|
|00003c70| 20 69 6e 74 6f 20 70 69 | 63 74 56 43 65 6e 74 65 | into pi|ctVCente|
|00003c80| 72 0d 77 61 69 74 20 75 | 6e 74 69 6c 20 74 68 65 |r.wait u|ntil the|
|00003c90| 20 6d 6f 75 73 65 43 6c | 69 63 6b 20 69 73 20 66 | mouseCl|ick is f|
|00003ca0| 61 6c 73 65 0d 72 65 70 | 65 61 74 0d 6d 73 67 20 |alse.rep|eat.msg |
|00003cb0| 22 43 6c 69 63 6b 20 74 | 6f 20 70 6c 61 63 65 20 |"Click t|o place |
|00003cc0| 74 68 65 20 70 69 63 74 | 75 72 65 20 77 68 65 72 |the pict|ure wher|
|00003cd0| 65 20 79 6f 75 20 77 61 | 6e 74 20 69 74 20 74 6f |e you wa|nt it to|
|00003ce0| 20 61 70 70 65 61 72 2e | 2e 2e 22 0d 73 65 74 20 | appear.|..".set |
|00003cf0| 63 75 72 73 6f 72 20 74 | 6f 20 61 72 72 6f 77 0d |cursor t|o arrow.|
|00003d00| 72 65 70 65 61 74 20 75 | 6e 74 69 6c 20 74 68 65 |repeat u|ntil the|
|00003d10| 20 6d 6f 75 73 65 43 6c | 69 63 6b 0d 73 65 74 20 | mouseCl|ick.set |
|00003d20| 6c 6f 63 20 6f 66 20 77 | 69 6e 64 6f 77 20 77 64 |loc of w|indow wd|
|00003d30| 4e 61 6d 65 20 74 6f c2 | 0d 28 74 68 65 20 6d 6f |Name to.|.(the mo|
|00003d40| 75 73 65 48 20 2d 20 70 | 69 63 74 48 43 65 6e 74 |useH - p|ictHCent|
|00003d50| 65 72 20 26 22 2c 22 26 | 20 74 68 65 20 6d 6f 75 |er &","&| the mou|
|00003d60| 73 65 56 20 2d 20 70 69 | 63 74 56 43 65 6e 74 65 |seV - pi|ctVCente|
|00003d70| 72 29 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 70 75 |r).end r|epeat.pu|
|00003d80| 74 20 65 6d 70 74 79 0d | 68 69 64 65 20 6d 73 67 |t empty.|hide msg|
|00003d90| 0d 69 66 20 74 68 65 20 | 6f 70 74 69 6f 6e 4b 65 |.if the |optionKe|
|00003da0| 79 20 69 73 20 64 6f 77 | 6e 20 74 68 65 6e 20 65 |y is dow|n then e|
|00003db0| 78 69 74 20 72 65 70 65 | 61 74 0d 65 6c 73 65 0d |xit repe|at.else.|
|00003dc0| 61 6e 73 77 65 72 20 22 | 54 6f 20 72 65 6c 6f 63 |answer "|To reloc|
|00003dd0| 61 74 65 20 74 68 65 20 | 70 69 63 74 75 72 65 2c |ate the |picture,|
|00003de0| 20 63 6c 69 63 6b 20 d2 | 52 65 6c 6f 63 61 74 65 | click .|Relocate|
|00003df0| d3 3b 20 74 6f 20 63 61 | 6e 63 65 6c 20 22 26 c2 |.; to ca|ncel "&.|
|00003e00| 0d 22 61 6e 64 20 61 62 | 6f 72 74 20 74 68 65 20 |."and ab|ort the |
|00003e10| 70 69 63 74 75 72 65 2c | 20 63 6c 69 63 6b 20 d2 |picture,| click .|
|00003e20| 43 61 6e 63 65 6c d3 3b | 20 54 6f 20 63 6f 6e 74 |Cancel.;| To cont|
|00003e30| 69 6e 75 65 2c 20 63 6c | 69 63 6b 20 d2 4f 6b d3 |inue, cl|ick .Ok.|
|00003e40| 2e 22 20 77 69 74 68 c2 | 0d 22 43 61 6e 63 65 6c |." with.|."Cancel|
|00003e50| 22 20 6f 72 20 22 52 65 | 6c 6f 63 61 74 65 22 20 |" or "Re|locate" |
|00003e60| 6f 72 20 22 4f 6b 22 0d | 69 66 20 49 74 20 69 73 |or "Ok".|if It is|
|00003e70| 20 22 43 61 6e 63 65 6c | 22 20 74 68 65 6e 0d 63 | "Cancel|" then.c|
|00003e80| 6c 6f 73 65 20 77 69 6e | 64 6f 77 20 77 64 4e 61 |lose win|dow wdNa|
|00003e90| 6d 65 0d 65 78 69 74 20 | 70 6c 61 63 65 43 48 43 |me.exit |placeCHC|
|00003ea0| 70 69 63 74 0d 65 6c 73 | 65 20 69 66 20 49 74 20 |pict.els|e if It |
|00003eb0| 69 73 20 22 4f 6b 22 20 | 74 68 65 6e 20 65 78 69 |is "Ok" |then exi|
|00003ec0| 74 20 72 65 70 65 61 74 | 0d 65 6e 64 20 69 66 0d |t repeat|.end if.|
|00003ed0| 65 6e 64 20 72 65 70 65 | 61 74 0d 70 75 74 20 6c |end repe|at.put l|
|00003ee0| 6f 63 20 6f 66 20 77 69 | 6e 64 6f 77 20 77 64 4e |oc of wi|ndow wdN|
|00003ef0| 61 6d 65 20 69 6e 74 6f | 20 70 69 63 74 4c 6f 63 |ame into| pictLoc|
|00003f00| 0d 2d 2d 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |.--.set |cursor t|
|00003f10| 6f 20 34 0d 70 75 74 20 | 22 77 69 6e 64 6f 77 22 |o 4.put |"window"|
|00003f20| 26 26 71 75 6f 74 28 70 | 69 63 74 4e 61 6d 65 29 |&&quot(p|ictName)|
|00003f30| 20 69 6e 74 6f 20 77 64 | 0d 69 66 20 66 6f 6c 64 | into wd|.if fold|
|00003f40| 65 72 4f 66 28 70 69 63 | 74 75 72 65 46 69 6c 65 |erOf(pic|tureFile|
|00003f50| 29 20 69 73 20 66 6f 6c | 64 65 72 4f 66 28 74 68 |) is fol|derOf(th|
|00003f60| 69 73 53 74 61 63 6b 54 | 61 67 28 29 29 0d 74 68 |isStackT|ag()).th|
|00003f70| 65 6e 20 70 75 74 20 22 | 3a 22 20 26 20 70 69 63 |en put "|:" & pic|
|00003f80| 74 4e 61 6d 65 20 69 6e | 74 6f 20 70 69 63 74 75 |tName in|to pictu|
|00003f90| 72 65 46 69 6c 65 0d 70 | 75 74 20 22 63 6f 6c 6f |reFile.p|ut "colo|
|00003fa0| 72 69 7a 65 48 43 22 26 | 26 71 75 6f 74 28 22 41 |rizeHC"&|&quot("A|
|00003fb0| 64 64 22 29 20 26 22 2c | 22 26 20 71 75 6f 74 28 |dd") &",|"& quot(|
|00003fc0| 70 69 63 74 75 72 65 46 | 69 6c 65 29 20 26 22 2c |pictureF|ile) &",|
|00003fd0| 22 26 c2 0d 71 75 6f 74 | 28 70 69 63 74 4c 6f 63 |"&..quot|(pictLoc|
|00003fe0| 29 20 26 72 65 74 75 72 | 6e 26 c2 0d 22 69 66 20 |) &retur|n&.."if |
|00003ff0| 74 68 65 20 72 65 73 75 | 6c 74 20 69 73 20 6e 6f |the resu|lt is no|
|00004000| 74 20 65 6d 70 74 79 20 | 74 68 65 6e 20 61 6e 73 |t empty |then ans|
|00004010| 77 65 72 22 20 26 26 c2 | 0d 71 75 6f 74 28 22 43 |wer" &&.|.quot("C|
|00004020| 61 6e d5 74 20 6f 70 65 | 6e 20 70 69 63 74 75 72 |an.t ope|n pictur|
|00004030| 65 20 d2 22 20 26 20 70 | 69 63 74 4e 61 6d 65 20 |e ." & p|ictName |
|00004040| 26 20 22 d3 3b 22 29 26 | c2 0d 22 26 26 20 74 68 |& ".;")&|.."&& th|
|00004050| 65 20 72 65 73 75 6c 74 | 20 77 69 74 68 22 20 26 |e result| with" &|
|00004060| 26 20 71 75 6f 74 28 22 | 43 61 6e 63 65 6c 22 29 |& quot("|Cancel")|
|00004070| 20 26 72 65 74 75 72 6e | 26 c2 0d 22 67 6f 20 74 | &return|&.."go t|
|00004080| 6f 20 74 68 69 73 20 63 | 61 72 64 22 20 69 6e 74 |o this c|ard" int|
|00004090| 6f 20 6f 70 65 6e 53 63 | 72 69 70 74 0d 64 6f 20 |o openSc|ript.do |
|000040a0| 6f 70 65 6e 53 63 72 69 | 70 74 0d 63 6c 6f 73 65 |openScri|pt.close|
|000040b0| 20 77 69 6e 64 6f 77 20 | 77 64 4e 61 6d 65 0d 69 | window |wdName.i|
|000040c0| 6e 73 74 61 6c 6c 43 48 | 43 70 69 63 74 20 28 6c |nstallCH|Cpict (l|
|000040d0| 69 6e 65 20 31 20 74 6f | 20 32 20 6f 66 20 6f 70 |ine 1 to| 2 of op|
|000040e0| 65 6e 53 63 72 69 70 74 | 29 0d 6d 73 67 20 22 54 |enScript|).msg "T|
|000040f0| 79 70 65 20 63 6f 6e 74 | 72 6f 6c 2d d2 5a d3 20 |ype cont|rol-.Z. |
|00004100| 74 6f 20 75 6e 64 6f 20 | 74 68 65 20 6e 65 77 20 |to undo |the new |
|00004110| 70 69 63 74 75 72 65 2e | 22 0d 65 6e 64 20 70 6c |picture.|".end pl|
|00004120| 61 63 65 43 48 43 70 69 | 63 74 0d 0d 6f 6e 20 69 |aceCHCpi|ct..on i|
|00004130| 6e 73 74 61 6c 6c 43 48 | 43 70 69 63 74 20 70 69 |nstallCH|Cpict pi|
|00004140| 63 74 43 6d 64 0d 69 6e | 73 65 72 74 49 6e 48 61 |ctCmd.in|sertInHa|
|00004150| 6e 64 6c 65 72 20 22 74 | 68 69 73 20 63 61 72 64 |ndler "t|his card|
|00004160| 22 2c 22 6f 70 65 6e 43 | 61 72 64 22 2c 22 64 72 |","openC|ard","dr|
|00004170| 61 77 43 6f 6c 6f 72 22 | 2c 74 72 75 65 0d 73 61 |awColor"|,true.sa|
|00004180| 76 65 43 6f 6c 6f 72 43 | 6d 64 20 70 69 63 74 43 |veColorC|md pictC|
|00004190| 6d 64 0d 65 6e 64 20 69 | 6e 73 74 61 6c 6c 43 48 |md.end i|nstallCH|
|000041a0| 43 70 69 63 74 0d 0d 66 | 75 6e 63 74 69 6f 6e 20 |Cpict..f|unction |
|000041b0| 66 69 6c 65 50 61 74 68 | 20 49 74 0d 69 66 20 63 |filePath| It.if c|
|000041c0| 68 61 72 20 37 20 6f 66 | 20 49 74 20 69 73 20 71 |har 7 of| It is q|
|000041d0| 75 6f 74 65 20 74 68 65 | 6e 0d 72 65 74 75 72 6e |uote the|n.return|
|000041e0| 20 63 68 61 72 20 38 20 | 74 6f 20 6c 65 6e 67 74 | char 8 |to lengt|
|000041f0| 68 28 49 74 29 2d 31 20 | 6f 66 20 49 74 0d 65 6c |h(It)-1 |of It.el|
|00004200| 73 65 20 72 65 74 75 72 | 6e 20 49 74 0d 65 6e 64 |se retur|n It.end|
|00004210| 20 66 69 6c 65 50 61 74 | 68 0d 0d 66 75 6e 63 74 | filePat|h..funct|
|00004220| 69 6f 6e 20 6c 61 73 74 | 4e 61 6d 65 20 49 74 0d |ion last|Name It.|
|00004230| 69 66 20 49 74 20 63 6f | 6e 74 61 69 6e 73 20 22 |if It co|ntains "|
|00004240| 3a 22 0d 74 68 65 6e 20 | 67 65 74 20 6c 61 73 74 |:".then |get last|
|00004250| 4e 61 6d 65 28 63 68 61 | 72 20 6f 66 66 73 65 74 |Name(cha|r offset|
|00004260| 28 22 3a 22 2c 49 74 29 | 2b 31 20 74 6f 20 6c 65 |(":",It)|+1 to le|
|00004270| 6e 67 74 68 28 49 74 29 | 20 6f 66 20 49 74 29 0d |ngth(It)| of It).|
|00004280| 72 65 74 75 72 6e 20 49 | 74 0d 65 6e 64 20 6c 61 |return I|t.end la|
|00004290| 73 74 4e 61 6d 65 0d 0d | 66 75 6e 63 74 69 6f 6e |stName..|function|
|000042a0| 20 66 6f 6c 64 65 72 4f | 66 20 70 61 74 68 0d 70 | folderO|f path.p|
|000042b0| 75 74 20 66 69 6c 65 50 | 61 74 68 28 70 61 74 68 |ut fileP|ath(path|
|000042c0| 29 20 69 6e 74 6f 20 70 | 61 74 68 0d 70 75 74 20 |) into p|ath.put |
|000042d0| 6c 65 6e 67 74 68 28 70 | 61 74 68 29 20 69 6e 74 |length(p|ath) int|
|000042e0| 6f 20 69 0d 72 65 70 65 | 61 74 20 75 6e 74 69 6c |o i.repe|at until|
|000042f0| 20 69 3d 30 20 6f 72 20 | 63 68 61 72 20 69 20 6f | i=0 or |char i o|
|00004300| 66 20 70 61 74 68 20 69 | 73 20 22 3a 22 0d 73 75 |f path i|s ":".su|
|00004310| 62 74 72 61 63 74 20 31 | 20 66 72 6f 6d 20 69 0d |btract 1| from i.|
|00004320| 65 6e 64 20 72 65 70 65 | 61 74 0d 69 66 20 69 3d |end repe|at.if i=|
|00004330| 30 20 74 68 65 6e 20 72 | 65 74 75 72 6e 20 65 6d |0 then r|eturn em|
|00004340| 70 74 79 20 65 6c 73 65 | 20 72 65 74 75 72 6e 20 |pty else| return |
|00004350| 63 68 61 72 20 31 20 74 | 6f 20 69 20 6f 66 20 70 |char 1 t|o i of p|
|00004360| 61 74 68 0d 65 6e 64 20 | 66 6f 6c 64 65 72 4f 66 |ath.end |folderOf|
|00004370| 0d 0d 66 75 6e 63 74 69 | 6f 6e 20 74 68 69 73 53 |..functi|on thisS|
|00004380| 74 61 63 6b 54 61 67 0d | 72 65 74 75 72 6e 20 66 |tackTag.|return f|
|00004390| 69 6c 65 50 61 74 68 28 | 6c 6f 6e 67 20 6e 61 6d |ilePath(|long nam|
|000043a0| 65 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 29 |e of thi|s stack)|
|000043b0| 0d 65 6e 64 20 74 68 69 | 73 53 74 61 63 6b 54 61 |.end thi|sStackTa|
|000043c0| 67 0d 0d 6f 6e 20 73 61 | 76 65 43 6f 6c 6f 72 43 |g..on sa|veColorC|
|000043d0| 6d 64 20 49 74 0d 67 6c | 6f 62 61 6c 20 48 47 63 |md It.gl|obal HGc|
|000043e0| 6f 6c 6f 72 43 6d 64 73 | 2c 48 47 63 43 6d 64 73 |olorCmds|,HGcCmds|
|000043f0| 4c 61 73 74 0d 73 65 74 | 20 63 75 72 73 6f 72 20 |Last.set| cursor |
|00004400| 74 6f 20 34 0d 63 68 65 | 63 6b 43 6f 6c 6f 72 53 |to 4.che|ckColorS|
|00004410| 61 76 65 0d 70 75 74 20 | 48 47 63 6f 6c 6f 72 43 |ave.put |HGcolorC|
|00004420| 6d 64 73 20 69 6e 74 6f | 20 48 47 63 43 6d 64 73 |mds into| HGcCmds|
|00004430| 4c 61 73 74 0d 70 75 74 | 20 49 74 26 72 65 74 75 |Last.put| It&retu|
|00004440| 72 6e 20 61 66 74 65 72 | 20 48 47 63 6f 6c 6f 72 |rn after| HGcolor|
|00004450| 43 6d 64 73 0d 73 65 74 | 43 44 69 72 74 79 0d 65 |Cmds.set|CDirty.e|
|00004460| 6e 64 20 73 61 76 65 43 | 6f 6c 6f 72 43 6d 64 0d |nd saveC|olorCmd.|
|00004470| 0d 2d 2d 20 d9 d9 d9 20 | 53 55 50 50 4f 52 54 20 |.-- ... |SUPPORT |
|00004480| d9 d9 d9 0d 66 75 6e 63 | 74 69 6f 6e 20 66 69 6e |....func|tion fin|
|00004490| 64 4f 62 6a 65 63 74 41 | 74 20 78 79 2c 76 69 73 |dObjectA|t xy,vis|
|000044a0| 53 65 74 0d 67 65 74 20 | 66 69 6e 64 42 75 74 74 |Set.get |findButt|
|000044b0| 6f 6e 41 74 28 78 79 2c | 76 69 73 53 65 74 29 0d |onAt(xy,|visSet).|
|000044c0| 69 66 20 49 74 20 69 73 | 20 65 6d 70 74 79 20 74 |if It is| empty t|
|000044d0| 68 65 6e 20 72 65 74 75 | 72 6e 20 66 69 6e 64 46 |hen retu|rn findF|
|000044e0| 69 65 6c 64 41 74 28 78 | 79 2c 76 69 73 53 65 74 |ieldAt(x|y,visSet|
|000044f0| 29 0d 65 6c 73 65 20 72 | 65 74 75 72 6e 20 49 74 |).else r|eturn It|
|00004500| 0d 65 6e 64 20 66 69 6e | 64 4f 62 6a 65 63 74 41 |.end fin|dObjectA|
|00004510| 74 0d 0d 66 75 6e 63 74 | 69 6f 6e 20 66 69 6e 64 |t..funct|ion find|
|00004520| 42 75 74 74 6f 6e 41 74 | 20 78 79 6c 6f 63 2c 76 |ButtonAt| xyloc,v|
|00004530| 69 73 53 65 74 0d 70 75 | 74 20 76 69 73 53 65 74 |isSet.pu|t visSet|
|00004540| 20 ad 20 66 61 6c 73 65 | 20 69 6e 74 6f 20 76 69 | . false| into vi|
|00004550| 73 53 65 74 0d 72 65 70 | 65 61 74 20 77 69 74 68 |sSet.rep|eat with|
|00004560| 20 69 3d 6e 75 6d 62 65 | 72 20 6f 66 20 63 64 20 | i=numbe|r of cd |
|00004570| 62 74 6e 73 20 64 6f 77 | 6e 20 74 6f 20 31 0d 69 |btns dow|n to 1.i|
|00004580| 66 20 78 79 6c 6f 63 20 | 69 73 20 77 69 74 68 69 |f xyloc |is withi|
|00004590| 6e 20 72 65 63 74 20 6f | 66 20 63 64 20 62 74 6e |n rect o|f cd btn|
|000045a0| 20 69 0d 74 68 65 6e 20 | 69 66 20 28 76 69 73 69 | i.then |if (visi|
|000045b0| 62 6c 65 20 6f 66 20 63 | 64 20 62 74 6e 20 69 29 |ble of c|d btn i)|
|000045c0| 3d 76 69 73 53 65 74 0d | 74 68 65 6e 20 72 65 74 |=visSet.|then ret|
|000045d0| 75 72 6e 20 22 63 61 72 | 64 20 62 75 74 74 6f 6e |urn "car|d button|
|000045e0| 20 69 64 20 22 20 26 20 | 69 64 20 6f 66 20 63 64 | id " & |id of cd|
|000045f0| 20 62 74 6e 20 69 0d 65 | 6e 64 20 72 65 70 65 61 | btn i.e|nd repea|
|00004600| 74 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 69 3d |t.repeat| with i=|
|00004610| 6e 75 6d 62 65 72 20 6f | 66 20 62 67 20 62 74 6e |number o|f bg btn|
|00004620| 73 20 64 6f 77 6e 20 74 | 6f 20 31 0d 69 66 20 78 |s down t|o 1.if x|
|00004630| 79 6c 6f 63 20 69 73 20 | 77 69 74 68 69 6e 20 72 |yloc is |within r|
|00004640| 65 63 74 20 6f 66 20 62 | 67 20 62 74 6e 20 69 0d |ect of b|g btn i.|
|00004650| 74 68 65 6e 20 69 66 20 | 28 76 69 73 69 62 6c 65 |then if |(visible|
|00004660| 20 6f 66 20 62 67 20 62 | 74 6e 20 69 29 3d 76 69 | of bg b|tn i)=vi|
|00004670| 73 53 65 74 0d 74 68 65 | 6e 20 72 65 74 75 72 6e |sSet.the|n return|
|00004680| 20 22 62 6b 67 6e 64 20 | 62 75 74 74 6f 6e 20 69 | "bkgnd |button i|
|00004690| 64 20 22 20 26 20 69 64 | 20 6f 66 20 62 67 20 62 |d " & id| of bg b|
|000046a0| 74 6e 20 69 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |tn i.end| repeat.|
|000046b0| 72 65 74 75 72 6e 20 65 | 6d 70 74 79 0d 65 6e 64 |return e|mpty.end|
|000046c0| 20 66 69 6e 64 42 75 74 | 74 6f 6e 41 74 0d 0d 66 | findBut|tonAt..f|
|000046d0| 75 6e 63 74 69 6f 6e 20 | 66 69 6e 64 46 69 65 6c |unction |findFiel|
|000046e0| 64 41 74 20 78 79 6c 6f | 63 2c 76 69 73 53 65 74 |dAt xylo|c,visSet|
|000046f0| 0d 70 75 74 20 76 69 73 | 53 65 74 20 ad 20 66 61 |.put vis|Set . fa|
|00004700| 6c 73 65 20 69 6e 74 6f | 20 76 69 73 53 65 74 0d |lse into| visSet.|
|00004710| 72 65 70 65 61 74 20 77 | 69 74 68 20 69 3d 6e 75 |repeat w|ith i=nu|
|00004720| 6d 62 65 72 20 6f 66 20 | 63 64 20 66 6c 64 73 20 |mber of |cd flds |
|00004730| 64 6f 77 6e 20 74 6f 20 | 31 0d 69 66 20 78 79 6c |down to |1.if xyl|
|00004740| 6f 63 20 69 73 20 77 69 | 74 68 69 6e 20 72 65 63 |oc is wi|thin rec|
|00004750| 74 20 6f 66 20 63 64 20 | 66 6c 64 20 69 0d 74 68 |t of cd |fld i.th|
|00004760| 65 6e 20 69 66 20 28 76 | 69 73 69 62 6c 65 20 6f |en if (v|isible o|
|00004770| 66 20 63 64 20 66 6c 64 | 20 69 29 3d 76 69 73 53 |f cd fld| i)=visS|
|00004780| 65 74 0d 74 68 65 6e 20 | 72 65 74 75 72 6e 20 22 |et.then |return "|
|00004790| 63 61 72 64 20 66 69 65 | 6c 64 20 69 64 20 22 20 |card fie|ld id " |
|000047a0| 26 20 69 64 20 6f 66 20 | 63 64 20 66 6c 64 20 69 |& id of |cd fld i|
|000047b0| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 72 65 70 65 |.end rep|eat.repe|
|000047c0| 61 74 20 77 69 74 68 20 | 69 3d 6e 75 6d 62 65 72 |at with |i=number|
|000047d0| 20 6f 66 20 62 67 20 66 | 6c 64 73 20 64 6f 77 6e | of bg f|lds down|
|000047e0| 20 74 6f 20 31 0d 69 66 | 20 78 79 6c 6f 63 20 69 | to 1.if| xyloc i|
|000047f0| 73 20 77 69 74 68 69 6e | 20 72 65 63 74 20 6f 66 |s within| rect of|
|00004800| 20 62 67 20 66 6c 64 20 | 69 0d 74 68 65 6e 20 69 | bg fld |i.then i|
|00004810| 66 20 28 76 69 73 69 62 | 6c 65 20 6f 66 20 62 67 |f (visib|le of bg|
|00004820| 20 66 6c 64 20 69 29 3d | 76 69 73 53 65 74 0d 74 | fld i)=|visSet.t|
|00004830| 68 65 6e 20 72 65 74 75 | 72 6e 20 22 62 6b 67 6e |hen retu|rn "bkgn|
|00004840| 64 20 66 69 65 6c 64 20 | 69 64 20 22 20 26 20 69 |d field |id " & i|
|00004850| 64 20 6f 66 20 62 67 20 | 66 6c 64 20 69 0d 65 6e |d of bg |fld i.en|
|00004860| 64 20 72 65 70 65 61 74 | 0d 72 65 74 75 72 6e 20 |d repeat|.return |
|00004870| 65 6d 70 74 79 0d 65 6e | 64 20 66 69 6e 64 46 69 |empty.en|d findFi|
|00004880| 65 6c 64 41 74 0d 0d 6f | 6e 20 6d 73 67 20 6d 65 |eldAt..o|n msg me|
|00004890| 73 73 67 0d 70 75 74 20 | 22 d9 22 26 26 6d 65 73 |ssg.put |"."&&mes|
|000048a0| 73 67 0d 65 6e 64 20 6d | 73 67 0d 0d 6f 6e 20 6e |sg.end m|sg..on n|
|000048b0| 6f 48 47 6d 73 67 0d 69 | 66 20 6d 73 67 20 63 6f |oHGmsg.i|f msg co|
|000048c0| 6e 74 61 69 6e 73 20 22 | d9 22 20 74 68 65 6e 0d |ntains "|." then.|
|000048d0| 70 75 74 20 65 6d 70 74 | 79 0d 68 69 64 65 20 6d |put empt|y.hide m|
|000048e0| 73 67 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 6e 6f |sg.end i|f.end no|
|000048f0| 48 47 6d 73 67 0d 0d 6f | 6e 20 73 61 76 65 4d 73 |HGmsg..o|n saveMs|
|00004900| 67 0d 67 6c 6f 62 61 6c | 20 48 47 6d 73 67 0d 70 |g.global| HGmsg.p|
|00004910| 75 74 20 76 69 73 69 62 | 6c 65 20 6f 66 20 6d 73 |ut visib|le of ms|
|00004920| 67 20 26 72 65 74 75 72 | 6e 26 20 6c 6f 63 20 6f |g &retur|n& loc o|
|00004930| 66 20 6d 73 67 20 26 72 | 65 74 75 72 6e 26 20 6d |f msg &r|eturn& m|
|00004940| 73 67 20 69 6e 74 6f 20 | 48 47 6d 73 67 0d 68 69 |sg into |HGmsg.hi|
|00004950| 64 65 20 6d 73 67 0d 65 | 6e 64 20 73 61 76 65 4d |de msg.e|nd saveM|
|00004960| 73 67 0d 0d 6f 6e 20 72 | 65 73 74 6f 72 65 4d 73 |sg..on r|estoreMs|
|00004970| 67 20 63 6d 64 0d 67 6c | 6f 62 61 6c 20 48 47 6d |g cmd.gl|obal HGm|
|00004980| 73 67 0d 69 66 20 48 47 | 6d 73 67 20 69 73 20 65 |sg.if HG|msg is e|
|00004990| 6d 70 74 79 20 74 68 65 | 6e 20 65 78 69 74 20 72 |mpty the|n exit r|
|000049a0| 65 73 74 6f 72 65 4d 73 | 67 0d 73 65 74 20 6c 6f |estoreMs|g.set lo|
|000049b0| 63 20 6f 66 20 6d 73 67 | 20 74 6f 20 6c 69 6e 65 |c of msg| to line|
|000049c0| 20 32 20 6f 66 20 48 47 | 6d 73 67 0d 69 66 20 63 | 2 of HG|msg.if c|
|000049d0| 6d 64 20 ad 20 22 6e 6f | 20 70 75 74 22 20 74 68 |md . "no| put" th|
|000049e0| 65 6e 20 70 75 74 20 6c | 69 6e 65 20 33 20 74 6f |en put l|ine 3 to|
|000049f0| 20 39 39 39 20 6f 66 20 | 48 47 6d 73 67 20 69 6e | 999 of |HGmsg in|
|00004a00| 74 6f 20 6d 73 67 0d 73 | 65 74 20 76 69 73 69 62 |to msg.s|et visib|
|00004a10| 6c 65 20 6f 66 20 6d 73 | 67 20 74 6f 20 6c 69 6e |le of ms|g to lin|
|00004a20| 65 20 31 20 6f 66 20 48 | 47 6d 73 67 0d 70 75 74 |e 1 of H|Gmsg.put|
|00004a30| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 48 47 6d 73 | empty i|nto HGms|
|00004a40| 67 0d 6e 6f 48 47 6d 73 | 67 0d 65 6e 64 20 72 65 |g.noHGms|g.end re|
|00004a50| 73 74 6f 72 65 4d 73 67 | 0d 0d 66 75 6e 63 74 69 |storeMsg|..functi|
|00004a60| 6f 6e 20 74 6f 6f 6c 52 | 65 63 74 73 20 2d 2d 3e |on toolR|ects -->|
|00004a70| 20 72 65 63 74 20 6c 69 | 73 74 0d 69 66 20 76 69 | rect li|st.if vi|
|00004a80| 73 69 62 6c 65 20 6f 66 | 20 77 69 6e 64 6f 77 20 |sible of| window |
|00004a90| 22 54 6f 6f 6c 73 22 20 | 74 68 65 6e 20 67 65 74 |"Tools" |then get|
|00004aa0| 20 28 72 65 63 74 20 6f | 66 20 77 69 6e 64 6f 77 | (rect o|f window|
|00004ab0| 20 22 54 6f 6f 6c 73 22 | 29 0d 65 6c 73 65 20 67 | "Tools"|).else g|
|00004ac0| 65 74 20 22 30 2c 30 2c | 30 2c 30 22 0d 72 65 74 |et "0,0,|0,0".ret|
|00004ad0| 75 72 6e 20 48 43 77 69 | 6e 64 6f 77 28 29 20 26 |urn HCwi|ndow() &|
|00004ae0| 20 72 65 74 75 72 6e 20 | 26 20 49 74 0d 65 6e 64 | return |& It.end|
|00004af0| 20 74 6f 6f 6c 52 65 63 | 74 73 0d 0d 66 75 6e 63 | toolRec|ts..func|
|00004b00| 74 69 6f 6e 20 63 6c 69 | 63 6b 4f 66 66 43 61 72 |tion cli|ckOffCar|
|00004b10| 64 20 77 52 65 63 74 73 | 20 2d 2d 3e 20 74 2f 66 |d wRects| --> t/f|
|00004b20| 0d 70 75 74 20 74 68 65 | 20 63 6c 69 63 6b 4c 6f |.put the| clickLo|
|00004b30| 63 20 69 6e 74 6f 20 63 | 6c 0d 72 65 74 75 72 6e |c into c|l.return|
|00004b40| 20 28 63 6c 20 69 73 20 | 6e 6f 74 20 77 69 74 68 | (cl is |not with|
|00004b50| 69 6e 20 6c 69 6e 65 20 | 31 20 6f 66 20 77 52 65 |in line |1 of wRe|
|00004b60| 63 74 73 29 20 6f 72 c2 | 0d 28 63 6c 20 69 73 20 |cts) or.|.(cl is |
|00004b70| 77 69 74 68 69 6e 20 6c | 69 6e 65 20 32 20 6f 66 |within l|ine 2 of|
|00004b80| 20 77 52 65 63 74 73 29 | 0d 65 6e 64 20 63 6c 69 | wRects)|.end cli|
|00004b90| 63 6b 4f 66 66 43 61 72 | 64 0d 0d 66 75 6e 63 74 |ckOffCar|d..funct|
|00004ba0| 69 6f 6e 20 71 75 69 74 | 4b 65 79 20 2d 2d 3e 20 |ion quit|Key --> |
|00004bb0| 74 2f 66 0d 72 65 74 75 | 72 6e 20 63 68 61 72 54 |t/f.retu|rn charT|
|00004bc0| 6f 4e 75 6d 28 49 6e 6b | 65 79 28 29 29 3e 30 0d |oNum(Ink|ey())>0.|
|00004bd0| 65 6e 64 20 71 75 69 74 | 4b 65 79 0d 0d 66 75 6e |end quit|Key..fun|
|00004be0| 63 74 69 6f 6e 20 69 66 | 49 73 20 6f 62 6a 0d 72 |ction if|Is obj.r|
|00004bf0| 65 74 75 72 6e 20 22 69 | 66 20 74 68 65 72 65 20 |eturn "i|f there |
|00004c00| 69 73 20 61 22 26 26 6f | 62 6a 26 26 22 74 68 65 |is a"&&o|bj&&"the|
|00004c10| 6e 22 0d 65 6e 64 20 69 | 66 49 73 0d 0d 66 75 6e |n".end i|fIs..fun|
|00004c20| 63 74 69 6f 6e 20 48 43 | 77 69 6e 64 6f 77 0d 72 |ction HC|window.r|
|00004c30| 65 74 75 72 6e 20 22 30 | 2c 30 2c 22 26 77 69 64 |eturn "0|,0,"&wid|
|00004c40| 74 68 20 6f 66 20 63 64 | 20 77 69 6e 64 6f 77 26 |th of cd| window&|
|00004c50| 22 2c 22 26 68 65 69 67 | 68 74 20 6f 66 20 63 64 |","&heig|ht of cd|
|00004c60| 20 77 69 6e 64 6f 77 0d | 65 6e 64 20 48 43 77 69 | window.|end HCwi|
|00004c70| 6e 64 6f 77 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 69 |ndow..fu|nction i|
|00004c80| 73 4f 6e 42 67 20 6f 62 | 6a 0d 72 65 74 75 72 6e |sOnBg ob|j.return|
|00004c90| 20 63 68 61 72 20 31 20 | 6f 66 20 6f 62 6a 20 69 | char 1 |of obj i|
|00004ca0| 73 20 22 42 22 0d 65 6e | 64 20 69 73 4f 6e 42 67 |s "B".en|d isOnBg|
|00004cb0| 0d 0d 66 75 6e 63 74 69 | 6f 6e 20 71 75 6f 74 20 |..functi|on quot |
|00004cc0| 74 78 74 0d 72 65 74 75 | 72 6e 20 71 75 6f 74 65 |txt.retu|rn quote|
|00004cd0| 26 74 78 74 26 71 75 6f | 74 65 0d 65 6e 64 20 71 |&txt&quo|te.end q|
|00004ce0| 75 6f 74 0d 0d 6f 6e 20 | 66 6c 69 63 6b 65 72 20 |uot..on |flicker |
|00004cf0| 6f 62 6a 0d 68 69 64 65 | 20 6f 62 6a 0d 73 68 6f |obj.hide| obj.sho|
|00004d00| 77 20 6f 62 6a 0d 65 6e | 64 20 66 6c 69 63 6b 65 |w obj.en|d flicke|
|00004d10| 72 0d 00 64 6f 77 26 22 | 2c 22 26 68 65 69 67 68 |r..dow&"|,"&heigh|
|00004d20| 74 20 6f 66 20 63 64 20 | 77 69 6e 64 6f 77 0d 65 |t of cd |window.e|
|00004d30| 6e 64 20 48 43 77 69 6e | 64 6f 77 0d 0d 66 75 6e |nd HCwin|dow..fun|
|00004d40| 63 74 69 6f 6e 20 69 73 | 4f 6e 42 67 20 6f 62 6a |ction is|OnBg obj|
|00004d50| 0d 72 65 74 75 72 6e 20 | 63 68 61 72 20 31 20 6f |.return |char 1 o|
|00004d60| 66 20 6f 62 6a 20 69 73 | 20 22 42 22 0d 65 6e 64 |f obj is| "B".end|
|00004d70| 20 69 73 4f 6e 42 67 0d | 0d 66 75 6e 63 74 69 6f | isOnBg.|.functio|
|00004d80| 6e 20 71 75 6f 74 20 74 | 78 74 0d 72 65 74 75 72 |n quot t|xt.retur|
|00004d90| 6e 20 71 75 6f 74 65 26 | 74 78 74 26 71 75 6f 74 |n quote&|txt&quot|
|00004da0| 65 0d 65 6e 64 20 71 75 | 6f 74 0d 0d 6f 6e 20 66 |e.end qu|ot..on f|
|00004db0| 6c 69 63 6b 65 72 20 6f | 62 6a 0d 68 69 64 65 20 |licker o|bj.hide |
|00004dc0| 6f 62 6a 0d 73 68 6f 77 | 20 6f 62 6a 0d 65 6e 64 |obj.show| obj.end|
|00004dd0| 20 66 6c 69 63 6b 65 72 | 0d 00 00 00 00 00 00 00 | flicker|........|
|00004de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e80| 00 00 02 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00004e90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ea0| 00 05 c1 01 00 04 13 5b | 00 02 c4 15 00 02 c6 69 |.......[|.......i|
|00004eb0| 00 05 d9 bc 00 05 df 24 | 00 00 00 00 00 00 00 00 |.......$|........|
|00004ec0| 00 02 80 87 00 02 84 1e | 00 00 00 00 00 00 00 00 |........|........|
|00004ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005000| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005080| 00 00 00 80 4c 49 53 54 | 00 00 10 87 00 00 00 00 |....LIST|........|
|00005090| 00 00 00 01 00 00 08 00 | 00 00 00 02 00 84 00 02 |........|........|
|000050a0| 00 20 00 03 c0 00 02 25 | 00 00 00 02 00 00 00 00 |. .....%|........|
|000050b0| 00 00 11 1e 00 02 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005100| 00 00 08 00 50 41 47 45 | 00 00 11 1e 00 00 00 00 |....PAGE|........|
|00005110| 00 00 10 87 c4 00 01 2d | 00 00 0b 69 e0 7f bf b7 |.......-|...i....|
|00005120| ff f7 fa 7f 7f ff ff 9b | ff 7b 7f 9f f7 ff ff 3f |........|.{.....?|
|00005130| f3 3f df f7 b7 f3 ff 7f | fb ef 7f ff fd ff fe fb |.?......|........|
|00005140| ae ff ff ff ef f7 df ff | fe af ff 7d bf ff de 77 |........|...}...w|
|00005150| 77 ec ff ff fe ff 7f ff | ff fe de ff ff fe ff ef |w.......|........|
|00005160| fd ff 5d df ef ff ff ff | d7 f9 ff fe df fd df 7f |..].....|........|
|00005170| ef ff ef df ff be ae ff | df ff ff ef bc fd f7 f6 |........|........|
|00005180| ef ff fe 7f f7 7f ef fb | bf fb 7d df fe 7b fd ff |........|..}..{..|
|00005190| fd 6f fe 7f 7c f7 ed 7f | de 7f 5f 7c 00 00 08 01 |.o..|...|.._|....|
|000051a0| 20 29 09 02 00 00 00 00 | 00 10 10 91 49 00 00 04 | )......|....I...|
|000051b0| 20 08 00 08 40 00 00 20 | 10 00 01 08 40 00 02 08 | ...@.. |....@...|
|000051c0| 08 00 00 00 04 04 60 00 | 04 10 41 00 40 02 00 00 |......`.|..A.@...|
|000051d0| 80 02 40 01 00 00 a0 00 | 00 08 10 60 00 00 00 21 |..@.....|...`...!|
|000051e0| 14 00 04 40 30 10 00 04 | 47 04 25 01 01 c0 02 02 |...@0...|G.%.....|
|000051f0| 00 80 c0 00 00 16 01 00 | 00 04 00 00 05 8c 10 a4 |........|........|
|00005200| 00 00 01 80 00 03 88 08 | 00 10 02 00 00 10 00 10 |........|........|
|00005210| 00 00 08 08 a0 40 00 00 | 00 00 00 00 06 04 00 00 |.....@..|........|
|00005220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005800| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005900| 00 00 00 40 42 4b 47 44 | 00 00 0a 15 00 00 00 00 |...@BKGD|........|
|00005910| 00 00 00 00 00 00 00 00 | 00 00 00 02 00 00 0a 15 |........|........|
|00005920| 00 00 0a 15 00 00 00 0b | 00 00 00 00 00 00 00 00 |........|........|
|00005930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005940| 00 00 29 a0 43 41 52 44 | 00 00 0b 69 00 00 00 00 |..).CARD|...i....|
|00005950| 00 00 09 5b 00 00 00 00 | 00 00 00 00 00 00 00 00 |...[....|........|
|00005960| 00 00 11 1e 00 00 0a 15 | 00 08 00 0b 00 00 05 68 |........|.......h|
|00005970| 00 03 00 00 1f cc 00 26 | 00 01 02 05 00 44 00 13 |.......&|.....D..|
|00005980| 01 1d 01 51 20 07 00 00 | 00 00 00 00 00 10 00 0c |...Q ...|........|
|00005990| 00 00 00 10 49 6e 66 6f | 00 00 00 00 01 d2 00 02 |....Info|........|
|000059a0| 01 00 00 14 00 1b 00 33 | 00 3b 40 01 00 00 32 70 |.......3|.;@...2p|
|000059b0| 00 01 00 00 00 0c 00 00 | 00 10 53 75 6e 00 00 0d |........|..Sun...|
|000059c0| 6f 6e 20 6d 6f 75 73 65 | 55 70 0d 73 65 6c 65 63 |on mouse|Up.selec|
|000059d0| 74 47 41 53 50 69 6e 66 | 6f 0d 65 6e 64 20 6d 6f |tGASPinf|o.end mo|
|000059e0| 75 73 65 55 70 0d 0d 6f | 6e 20 6d 6f 75 73 65 44 |useUp..o|n mouseD|
|000059f0| 6f 77 6e 0d 73 65 74 20 | 68 69 6c 69 74 65 20 6f |own.set |hilite o|
|00005a00| 66 20 6d 65 20 74 6f 20 | 74 72 75 65 0d 70 61 73 |f me to |true.pas|
|00005a10| 73 20 6d 6f 75 73 65 44 | 6f 77 6e 0d 65 6e 64 20 |s mouseD|own.end |
|00005a20| 6d 6f 75 73 65 44 6f 77 | 6e 0d 0d 6f 6e 20 6d 6f |mouseDow|n..on mo|
|00005a30| 75 73 65 45 6e 74 65 72 | 0d 72 65 70 65 61 74 20 |useEnter|.repeat |
|00005a40| 75 6e 74 69 6c 20 74 68 | 65 20 6d 6f 75 73 65 4c |until th|e mouseL|
|00005a50| 6f 63 20 69 73 20 6e 6f | 74 20 77 69 74 68 69 6e |oc is no|t within|
|00005a60| 20 72 65 63 74 20 6f 66 | 20 6d 65 20 6f 72 20 74 | rect of| me or t|
|00005a70| 68 65 20 6d 6f 75 73 65 | 43 6c 69 63 6b 0d 61 6e |he mouse|Click.an|
|00005a80| 69 6d 61 74 65 49 63 6f | 6e 53 75 6e 0d 65 6e 64 |imateIco|nSun.end|
|00005a90| 20 72 65 70 65 61 74 0d | 69 66 20 74 68 65 20 6d | repeat.|if the m|
|00005aa0| 6f 75 73 65 4c 6f 63 20 | 69 73 20 77 69 74 68 69 |ouseLoc |is withi|
|00005ab0| 6e 20 72 65 63 74 20 6f | 66 20 6d 65 20 74 68 65 |n rect o|f me the|
|00005ac0| 6e 20 63 6c 69 63 6b 20 | 61 74 20 74 68 65 20 63 |n click |at the c|
|00005ad0| 6c 69 63 6b 4c 6f 63 0d | 70 61 73 73 20 6d 6f 75 |lickLoc.|pass mou|
|00005ae0| 73 65 45 6e 74 65 72 0d | 65 6e 64 20 6d 6f 75 73 |seEnter.|end mous|
|00005af0| 65 45 6e 74 65 72 0d 0d | 6f 6e 20 61 6e 69 6d 61 |eEnter..|on anima|
|00005b00| 74 65 49 63 6f 6e 53 75 | 6e 20 2d 2d 20 63 6f 6e |teIconSu|n -- con|
|00005b10| 74 69 6e 75 6f 75 73 0d | 72 65 70 65 61 74 20 77 |tinuous.|repeat w|
|00005b20| 69 74 68 20 69 3d 33 20 | 64 6f 77 6e 20 74 6f 20 |ith i=3 |down to |
|00005b30| 31 0d 73 65 74 20 69 63 | 6f 6e 20 6f 66 20 6d 65 |1.set ic|on of me|
|00005b40| 20 74 6f 20 22 53 75 6e | 22 26 26 69 0d 65 6e 64 | to "Sun|"&&i.end|
|00005b50| 20 72 65 70 65 61 74 0d | 65 6e 64 20 61 6e 69 6d | repeat.|end anim|
|00005b60| 61 74 65 49 63 6f 6e 53 | 75 6e 0d 0d 0d 00 00 22 |ateIconS|un....."|
|00005b70| 00 04 02 85 00 11 00 38 | 00 2a 01 44 00 00 00 00 |.......8|.*.D....|
|00005b80| 00 00 00 00 00 10 00 12 | 29 00 00 18 00 00 00 00 |........|).......|
|00005b90| 00 5a 00 05 01 00 01 25 | 00 13 01 3c 00 75 a0 02 |.Z.....%|...<.u..|
|00005ba0| 00 00 00 00 00 01 00 02 | 00 0a 01 00 00 0d 54 72 |........|......Tr|
|00005bb0| 79 20 54 6f 6f 6c 73 00 | 00 6f 6e 20 6d 6f 75 73 |y Tools.|.on mous|
|00005bc0| 65 55 70 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |eUp.lock| screen.|
|00005bd0| 67 6f 20 74 6f 20 63 61 | 72 64 20 32 0d 65 6e 64 |go to ca|rd 2.end|
|00005be0| 20 6d 6f 75 73 65 55 70 | 0d 00 01 ea 00 08 01 00 | mouseUp|........|
|00005bf0| 01 25 00 ef 01 3c 01 51 | a0 02 00 00 00 00 00 01 |.%...<.Q|........|
|00005c00| 00 02 00 0a 01 00 00 0d | 55 73 65 20 41 6c 77 61 |........|Use Alwa|
|00005c10| 79 73 2e 2e 2e 00 00 6f | 6e 20 6d 6f 75 73 65 55 |ys.....o|n mouseU|
|00005c20| 70 0d 61 6e 73 77 65 72 | 20 22 49 6e 73 74 61 6c |p.answer| "Instal|
|00005c30| 6c 20 63 6f 6d 6d 61 6e | 64 73 20 69 6e 74 6f 20 |l comman|ds into |
|00005c40| 79 6f 75 72 20 68 6f 6d | 65 20 73 63 72 69 70 74 |your hom|e script|
|00005c50| 20 73 6f 20 74 68 61 74 | 20 74 68 69 73 20 73 74 | so that| this st|
|00005c60| 61 63 6b 20 22 26 c2 0d | 22 69 73 20 61 6c 77 61 |ack "&..|"is alwa|
|00005c70| 79 73 20 69 6e 20 75 73 | 65 3f 22 20 77 69 74 68 |ys in us|e?" with|
|00005c80| 20 22 49 6e 73 74 61 6c | 6c 22 20 6f 72 20 22 43 | "Instal|l" or "C|
|00005c90| 61 6e 63 65 6c 22 0d 69 | 66 20 49 74 20 69 73 20 |ancel".i|f It is |
|00005ca0| 22 43 61 6e 63 65 6c 22 | 20 74 68 65 6e 20 65 78 |"Cancel"| then ex|
|00005cb0| 69 74 20 6d 6f 75 73 65 | 55 70 0d 73 65 74 20 63 |it mouse|Up.set c|
|00005cc0| 75 72 73 6f 72 20 74 6f | 20 34 0d 67 65 74 20 22 |ursor to| 4.get "|
|00005cd0| 73 74 61 72 74 20 75 73 | 69 6e 67 22 20 26 26 20 |start us|ing" && |
|00005ce0| 6e 61 6d 65 20 6f 66 20 | 74 68 69 73 20 73 74 61 |name of |this sta|
|00005cf0| 63 6b 0d 70 75 73 68 20 | 63 61 72 64 0d 6c 6f 63 |ck.push |card.loc|
|00005d00| 6b 20 73 63 72 65 65 6e | 0d 6c 6f 63 6b 20 6d 65 |k screen|.lock me|
|00005d10| 73 73 61 67 65 73 0d 67 | 6f 20 68 6f 6d 65 0d 69 |ssages.g|o home.i|
|00005d20| 6e 73 65 72 74 49 6e 48 | 61 6e 64 6c 65 72 20 22 |nsertInH|andler "|
|00005d30| 74 68 69 73 20 73 74 61 | 63 6b 22 2c 22 73 74 61 |this sta|ck","sta|
|00005d40| 72 74 55 70 22 2c 49 74 | 2c 74 72 75 65 0d 70 6f |rtUp",It|,true.po|
|00005d50| 70 20 63 61 72 64 0d 75 | 6e 6c 6f 63 6b 20 6d 65 |p card.u|nlock me|
|00005d60| 73 73 61 67 65 73 0d 75 | 6e 6c 6f 63 6b 20 73 63 |ssages.u|nlock sc|
|00005d70| 72 65 65 6e 0d 73 74 61 | 72 74 20 75 73 69 6e 67 |reen.sta|rt using|
|00005d80| 20 74 68 69 73 20 73 74 | 61 63 6b 0d 6d 73 67 20 | this st|ack.msg |
|00005d90| 22 d2 53 74 61 72 74 20 | 75 73 69 6e 67 d3 20 63 |".Start |using. c|
|00005da0| 6f 6d 6d 61 6e 64 20 69 | 6e 73 74 61 6c 6c 65 64 |ommand i|nstalled|
|00005db0| 20 69 6e 20 d2 73 74 61 | 72 74 55 70 d3 20 68 61 | in .sta|rtUp. ha|
|00005dc0| 6e 64 6c 65 72 2e 22 0d | 65 6e 64 20 6d 6f 75 73 |ndler.".|end mous|
|00005dd0| 65 55 70 00 00 a2 00 09 | 01 00 01 25 00 81 01 3c |eUp.....|...%...<|
|00005de0| 00 e3 a0 02 00 00 00 00 | 00 01 00 02 00 0a 01 00 |........|........|
|00005df0| 00 0d 55 73 65 20 66 6f | 72 20 4e 6f 77 00 00 6f |..Use fo|r Now..o|
|00005e00| 6e 20 6d 6f 75 73 65 55 | 70 0d 73 74 61 72 74 20 |n mouseU|p.start |
|00005e10| 75 73 69 6e 67 20 74 68 | 69 73 20 73 74 61 63 6b |using th|is stack|
|00005e20| 0d 6d 73 67 20 22 53 74 | 61 63 6b 20 6e 6f 77 20 |.msg "St|ack now |
|00005e30| 69 6e 20 75 73 65 3b 20 | 79 6f 75 20 63 61 6e 20 |in use; |you can |
|00005e40| 67 6f 20 61 6e 64 20 75 | 73 65 20 74 68 65 20 63 |go and u|se the c|
|00005e50| 6f 6c 6f 72 20 74 6f 6f | 6c 73 20 69 6e 20 61 6e |olor too|ls in an|
|00005e60| 79 20 73 74 61 63 6b 2e | 22 0d 65 6e 64 20 6d 6f |y stack.|".end mo|
|00005e70| 75 73 65 55 70 00 00 22 | 00 0a 02 85 00 26 00 39 |useUp.."|.....&.9|
|00005e80| 00 37 01 4e 00 00 00 00 | 00 00 00 00 00 10 00 0a |.7.N....|........|
|00005e90| 28 00 00 0d 00 00 00 00 | 00 46 00 0b 01 00 00 12 |(.......|.F......|
|00005ea0| 00 3c 00 28 00 b2 00 00 | 00 00 00 00 00 01 00 00 |.<.(....|........|
|00005eb0| 00 0c 00 00 00 10 00 00 | 6f 6e 20 6d 6f 75 73 65 |........|on mouse|
|00005ec0| 55 70 0d 73 65 6c 65 63 | 74 47 41 53 50 69 6e 66 |Up.selec|tGASPinf|
|00005ed0| 6f 0d 65 6e 64 20 6d 6f | 75 73 65 55 70 00 ff fc |o.end mo|useUp...|
|00005ee0| 00 19 00 48 79 70 65 72 | 47 41 53 50 d5 73 20 43 |...Hyper|GASP.s C|
|00005ef0| 6f 6c 6f 72 20 54 6f 6f | 6c 73 20 00 ff f6 00 35 |olor Too|ls ....5|
|00005f00| 00 46 6f 72 20 74 68 65 | 20 d2 63 6f 6c 6f 72 69 |.For the| .colori|
|00005f10| 7a 65 48 43 d3 20 58 43 | 4d 44 20 20 a5 20 20 a9 |zeHC. XC|MD . .|
|00005f20| 31 39 39 33 20 43 61 6c | 69 62 61 6e 20 4d 69 6e |1993 Cal|iban Min|
|00005f30| 64 77 65 61 72 00 ff ff | 1f 70 81 0a 00 00 00 04 |dwear...|.p......|
|00005f40| 00 10 00 05 01 a8 00 08 | 01 b2 00 05 03 59 00 08 |........|.....Y..|
|00005f50| 03 63 00 05 03 b9 00 04 | 03 ce 00 05 04 a1 00 04 |.c......|........|
|00005f60| 04 af 00 05 04 b6 00 04 | 04 c3 00 05 05 7f 00 04 |........|........|
|00005f70| 05 91 00 05 05 a0 00 04 | 05 a6 00 05 05 cb 00 04 |........|........|
|00005f80| 05 d1 00 05 06 00 00 04 | 06 04 00 05 06 a7 00 07 |........|........|
|00005f90| 06 b4 00 05 08 ad 00 07 | 08 b9 00 05 09 35 00 08 |........|.....5..|
|00005fa0| 09 3f 00 05 09 c5 00 08 | 09 d3 00 05 0a 22 00 08 |.?......|....."..|
|00005fb0| 0a 2e 00 05 0a 4d 00 04 | 0a 51 00 05 0a 89 00 08 |.....M..|.Q......|
|00005fc0| 0a 93 00 05 0b 0a 00 04 | 0b 14 00 05 0b 20 00 04 |........|..... ..|
|00005fd0| 0b 2a 00 05 0b 9a 00 04 | 0b a6 00 05 0c 36 00 04 |.*......|.....6..|
|00005fe0| 0c 41 00 05 0f 23 00 04 | 0f 32 00 05 11 07 00 04 |.A...#..|.2......|
|00005ff0| 11 17 00 05 11 79 00 04 | 11 a2 00 05 12 19 00 04 |.....y..|........|
|00006000| 12 57 00 05 13 53 00 04 | 13 79 00 05 15 06 00 04 |.W...S..|.y......|
|00006010| 15 37 00 05 15 d1 00 04 | 15 e7 00 05 16 86 00 04 |.7......|........|
|00006020| 16 8f 00 05 16 b9 00 04 | 16 d9 00 05 17 9a 00 04 |........|........|
|00006030| 17 b5 00 05 17 df 00 04 | 17 ef 00 05 1a 19 00 04 |........|........|
|00006040| 1a 2f 00 05 41 62 6f 75 | 74 20 74 68 69 73 20 73 |./..Abou|t this s|
|00006050| 74 61 63 6b 0d 0d 54 68 | 69 73 20 73 74 61 63 6b |tack..Th|is stack|
|00006060| 20 69 73 20 61 20 66 72 | 65 65 20 73 61 6d 70 6c | is a fr|ee sampl|
|00006070| 65 20 6f 66 20 73 6f 6d | 65 20 6f 66 20 74 68 65 |e of som|e of the|
|00006080| 20 75 74 69 6c 69 74 69 | 65 73 20 61 76 61 69 6c | utiliti|es avail|
|00006090| 61 62 6c 65 20 69 6e 20 | d3 48 79 70 65 72 47 41 |able in |.HyperGA|
|000060a0| 53 50 d3 2c 20 61 20 6e | 65 77 20 6d 75 6c 74 69 |SP., a n|ew multi|
|000060b0| 6d 65 64 69 61 20 61 75 | 74 68 6f 72 69 6e 67 20 |media au|thoring |
|000060c0| 61 6e 64 20 61 75 74 6f | 2d 73 63 72 69 70 74 69 |and auto|-scripti|
|000060d0| 6e 67 20 73 79 73 74 65 | 6d 20 66 6f 72 20 48 79 |ng syste|m for Hy|
|000060e0| 70 65 72 43 61 72 64 20 | 28 64 65 73 63 72 69 62 |perCard |(describ|
|000060f0| 65 64 20 62 65 6c 6f 77 | 2e 29 0d 0d 54 68 65 20 |ed below|.)..The |
|00006100| 73 61 6d 70 6c 65 20 63 | 6f 6c 6f 72 20 74 6f 6f |sample c|olor too|
|00006110| 6c 73 20 69 6e 20 74 68 | 69 73 20 73 74 61 63 6b |ls in th|is stack|
|00006120| 20 61 75 74 6f 6d 61 74 | 65 20 74 68 65 20 69 6e | automat|e the in|
|00006130| 73 74 61 6c 6c 61 74 69 | 6f 6e 20 6f 66 20 63 6f |stallati|on of co|
|00006140| 6c 6f 72 20 63 6f 6d 6d | 61 6e 64 73 20 69 6e 74 |lor comm|ands int|
|00006150| 6f 20 73 63 72 69 70 74 | 73 2c 20 73 6f 20 74 68 |o script|s, so th|
|00006160| 61 74 20 79 6f 75 20 63 | 61 6e 20 61 64 64 20 63 |at you c|an add c|
|00006170| 6f 6c 6f 72 20 74 6f 20 | 63 61 72 64 73 20 62 79 |olor to |cards by|
|00006180| 20 63 6c 69 63 6b 69 6e | 67 2c 20 64 72 61 67 67 | clickin|g, dragg|
|00006190| 69 6e 67 20 61 6e 64 20 | 70 6f 69 6e 74 69 6e 67 |ing and |pointing|
|000061a0| 2e 20 20 45 73 73 65 6e | 74 69 61 6c 6c 79 2c 20 |. Essen|tially, |
|000061b0| 74 68 65 73 65 20 74 6f | 6f 6c 73 20 63 6f 6e 73 |these to|ols cons|
|000061c0| 74 69 74 75 74 65 20 61 | 20 73 69 6d 70 6c 65 20 |titute a| simple |
|000061d0| 66 72 6f 6e 74 2d 65 6e | 64 20 66 6f 72 20 42 75 |front-en|d for Bu|
|000061e0| 6e 67 20 44 61 62 62 61 | d5 73 20 d2 63 6f 6c 6f |ng Dabba|.s .colo|
|000061f0| 72 69 7a 65 48 43 d3 20 | 58 43 4d 44 2c 20 61 20 |rizeHC. |XCMD, a |
|00006200| 77 69 64 65 6c 79 20 61 | 76 61 69 6c 61 62 6c 65 |widely a|vailable|
|00006210| 20 65 78 74 65 6e 73 69 | 6f 6e 20 74 6f 20 48 79 | extensi|on to Hy|
|00006220| 70 65 72 43 61 72 64 2e | 0d 0d 49 66 20 79 6f 75 |perCard.|..If you|
|00006230| 20 75 73 65 20 74 68 69 | 73 20 73 74 61 63 6b 20 | use thi|s stack |
|00006240| 61 6e 64 20 77 61 6e 74 | 20 74 6f 20 73 75 70 70 |and want| to supp|
|00006250| 6f 72 74 20 48 79 70 65 | 72 43 61 72 64 20 64 65 |ort Hype|rCard de|
|00006260| 76 65 6c 6f 70 6d 65 6e | 74 2c 20 70 6c 65 61 73 |velopmen|t, pleas|
|00006270| 65 20 73 65 6e 64 20 24 | 31 30 20 74 6f 20 74 68 |e send $|10 to th|
|00006280| 65 20 61 64 64 72 65 73 | 73 20 67 69 76 65 6e 20 |e addres|s given |
|00006290| 62 65 6c 6f 77 20 61 6e | 64 20 77 65 d5 6c 6c 20 |below an|d we.ll |
|000062a0| 70 75 74 20 79 6f 75 20 | 6f 6e 20 6f 75 72 20 6d |put you |on our m|
|000062b0| 61 69 6c 69 6e 67 20 6c | 69 73 74 2e 20 20 28 42 |ailing l|ist. (B|
|000062c0| 65 74 74 65 72 20 79 65 | 74 2c 20 73 6b 69 70 20 |etter ye|t, skip |
|000062d0| 74 68 65 20 66 65 65 20 | 61 6e 64 20 6f 72 64 65 |the fee |and orde|
|000062e0| 72 20 74 68 65 20 65 6e | 74 69 72 65 20 48 79 70 |r the en|tire Hyp|
|000062f0| 65 72 47 41 53 50 20 62 | 75 6e 64 6c 65 3b 20 79 |erGASP b|undle; y|
|00006300| 6f 75 20 77 6f 6e d5 74 | 20 62 65 20 64 69 73 61 |ou won.t| be disa|
|00006310| 70 70 6f 69 6e 74 65 64 | 2e 29 20 20 57 68 69 6c |ppointed|.) Whil|
|00006320| 65 20 79 6f 75 20 61 72 | 65 20 65 6e 63 6f 75 72 |e you ar|e encour|
|00006330| 61 67 65 64 20 74 6f 20 | 75 73 65 20 61 6e 64 20 |aged to |use and |
|00006340| 64 69 73 74 72 69 62 75 | 74 65 20 74 68 65 20 72 |distribu|te the r|
|00006350| 6f 75 74 69 6e 65 73 20 | 69 6e 20 74 68 69 73 20 |outines |in this |
|00006360| 73 74 61 63 6b 2c 20 74 | 68 65 79 20 61 72 65 20 |stack, t|hey are |
|00006370| 74 65 63 68 6e 69 63 61 | 6c 6c 79 20 63 6f 70 79 |technica|lly copy|
|00006380| 77 72 69 74 74 65 6e 20 | 61 6e 64 20 73 68 61 72 |written |and shar|
|00006390| 65 77 61 72 65 2e 0d 0d | 54 68 65 20 d2 63 6f 6c |eware...|The .col|
|000063a0| 6f 72 69 7a 65 48 43 d3 | 20 58 43 4d 44 20 61 6e |orizeHC.| XCMD an|
|000063b0| 64 20 61 73 73 6f 63 69 | 61 74 65 64 20 66 75 6e |d associ|ated fun|
|000063c0| 63 74 69 6f 6e 73 20 61 | 72 65 20 a9 31 39 39 31 |ctions a|re .1991|
|000063d0| 20 42 75 6e 67 44 61 62 | 62 61 20 50 72 6f 64 75 | BungDab|ba Produ|
|000063e0| 63 74 69 6f 6e 73 2c 20 | 64 69 73 74 72 69 62 75 |ctions, |distribu|
|000063f0| 74 65 64 20 66 72 65 65 | 6c 79 2e 0d 0d 55 73 69 |ted free|ly...Usi|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.